45#ifndef __WLMAKER_DESKTOP_PARSER_H__
46#define __WLMAKER_DESKTOP_PARSER_H__
48#include <libbase/libbase.h>
60 DESKTOP_ENTRY_TYPE_UNKNOWN = 0,
61 DESKTOP_ENTRY_TYPE_APPLICATION = 1,
62 DESKTOP_ENTRY_TYPE_LINK = 2,
63 DESKTOP_ENTRY_TYPE_DIRECTORY = 3,
121 const char *fname_ptr,
135 const char *string_ptr,
const bs_test_set_t desktop_parser_test_set
Definition desktop-parser.c:625
int desktop_parser_string_to_entry(const struct desktop_parser *parser, const char *string_ptr, struct desktop_entry *entry_ptr)
Definition desktop-parser.c:263
desktop_entry_type
Definition desktop-parser.h:59
void desktop_parser_entry_release(struct desktop_entry *entry_ptr)
Definition desktop-parser.c:275
int desktop_parser_file_to_entry(const struct desktop_parser *parser, const char *fname_ptr, struct desktop_entry *entry_ptr)
Definition desktop-parser.c:251
struct desktop_parser * desktop_parser_create(const char *locale_ptr)
Definition desktop-parser.c:191
void desktop_parser_destroy(struct desktop_parser *parser)
Definition desktop-parser.c:236
Definition desktop-parser.h:67
char * try_exec_ptr
Definition desktop-parser.h:86
char * exec_ptr
Definition desktop-parser.h:84
enum desktop_entry_type type
Definition desktop-parser.h:69
char * name_ptr
Definition desktop-parser.h:82
bool terminal
Definition desktop-parser.h:76
int8_t name_priority
Definition desktop-parser.h:79
bool no_display
Definition desktop-parser.h:74
char * path_ptr
Definition desktop-parser.h:88
bool hidden
Definition desktop-parser.h:72
char ** category_ptrs
Definition desktop-parser.h:90
Definition desktop-parser.c:61