aboutsummaryrefslogtreecommitdiff
path: root/src/seen-db.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-25 10:50:13 -0500
committerTed Gould <ted@gould.cx>2010-03-25 10:50:13 -0500
commit272215246b7ddd8beb7ba622cef73e2c0c27ccfa (patch)
tree38cb6cb8f3cb919edb5cc39d7ac842335ea3b504 /src/seen-db.h
parent28d358c7b459ef636800f253c362819773b91850 (diff)
parent791ebdf697b50b6a54e4d7dc4e1524e7f6c30b12 (diff)
downloadayatana-indicator-messages-272215246b7ddd8beb7ba622cef73e2c0c27ccfa.tar.gz
ayatana-indicator-messages-272215246b7ddd8beb7ba622cef73e2c0c27ccfa.tar.bz2
ayatana-indicator-messages-272215246b7ddd8beb7ba622cef73e2c0c27ccfa.zip
* Upstream release 0.3.5
* Shift command items to line up with application names. (LP: #537312) * Track applications we've seen so that we can show "Set Up" text if we've not seen the app before.
Diffstat (limited to 'src/seen-db.h')
-rw-r--r--src/seen-db.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/seen-db.h b/src/seen-db.h
new file mode 100644
index 0000000..a998ff0
--- /dev/null
+++ b/src/seen-db.h
@@ -0,0 +1,31 @@
+/*
+A small database of which desktop files we've seen.
+
+Copyright 2010 Canonical Ltd.
+
+Authors:
+ Ted Gould <ted@canonical.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License version 3, as published
+by the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranties of
+MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef SEEN_DB_H__
+#define SEEN_DB_H__ 1
+
+#include <glib.h>
+
+void seen_db_init(void);
+void seen_db_add (const gchar * desktop);
+gboolean seen_db_seen (const gchar * desktop);
+
+#endif /* SEEN_DB_H__ */