46#ifndef __WLMAKER_DESKTOP_PARSER_H__
47#define __WLMAKER_DESKTOP_PARSER_H__
49#include <libbase/libbase.h>
61 DESKTOP_ENTRY_TYPE_UNKNOWN = 0,
62 DESKTOP_ENTRY_TYPE_APPLICATION = 1,
63 DESKTOP_ENTRY_TYPE_LINK = 2,
64 DESKTOP_ENTRY_TYPE_DIRECTORY = 3,
122 const char *fname_ptr,
136 const char *string_ptr,
int desktop_parser_string_to_entry(const struct desktop_parser *parser, const char *string_ptr, struct desktop_entry *entry_ptr)
Definition desktop-parser.c:264
desktop_entry_type
Definition desktop-parser.h:60
void desktop_parser_entry_release(struct desktop_entry *entry_ptr)
Definition desktop-parser.c:276
int desktop_parser_file_to_entry(const struct desktop_parser *parser, const char *fname_ptr, struct desktop_entry *entry_ptr)
Definition desktop-parser.c:252
struct desktop_parser * desktop_parser_create(const char *locale_ptr)
Definition desktop-parser.c:192
void desktop_parser_destroy(struct desktop_parser *parser)
Definition desktop-parser.c:237
const bs_test_set_t desktop_parser_test_set
Definition desktop-parser.c:626
Definition desktop-parser.h:68
char * try_exec_ptr
Definition desktop-parser.h:87
char * exec_ptr
Definition desktop-parser.h:85
enum desktop_entry_type type
Definition desktop-parser.h:70
char * name_ptr
Definition desktop-parser.h:83
bool terminal
Definition desktop-parser.h:77
int8_t name_priority
Definition desktop-parser.h:80
bool no_display
Definition desktop-parser.h:75
char * path_ptr
Definition desktop-parser.h:89
bool hidden
Definition desktop-parser.h:73
char ** category_ptrs
Definition desktop-parser.h:91
Definition desktop-parser.c:62