summaryrefslogtreecommitdiff
path: root/obt/link.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-03-29 22:38:05 -0400
committerDana Jansens <danakj@orodu.net>2010-03-29 22:38:05 -0400
commit3121146eccd031a56d410eb48f3002558f41b40a (patch)
treee29479b3bc75be258b3b6782e3d95dee47f71e83 /obt/link.h
parent67bed35b7c1b1c9470aa8d0ba33974eabd66e089 (diff)
parse some of the .desktop stuff into an ObtLink structure
localized names still don't work. most of the app-specific stuff isn't done yet. categories aren't handled yet (to only show in/not show in some category)
Diffstat (limited to 'obt/link.h')
-rw-r--r--obt/link.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/obt/link.h b/obt/link.h
index bcac9d99..b0193297 100644
--- a/obt/link.h
+++ b/obt/link.h
@@ -23,6 +23,8 @@
G_BEGIN_DECLS
+struct _ObtPaths;
+
typedef enum {
OBT_LINK_TYPE_APPLICATION = 1,
OBT_LINK_TYPE_URL = 2,
@@ -48,7 +50,8 @@ typedef enum {
typedef struct _ObtLink ObtLink;
-ObtLink* obt_link_from_ddfile(const gchar *name, GSList *paths);
+ObtLink* obt_link_from_ddfile(const gchar *name, GSList *paths,
+ struct _ObtPaths *p);
void obt_link_ref(ObtLink *e);
void obt_link_unref(ObtLink *e);