aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-lru-file.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-19 10:42:11 -0600
committerTed Gould <ted@gould.cx>2010-01-19 10:42:11 -0600
commitf8d65da606cc460ebac5f273b754e8885dc91433 (patch)
tree4857945d91cb4d90600148ccc9a79522fe02f53b /src/application-service-lru-file.c
parentf0104e11357b5804aea2ecead13f99231b671a75 (diff)
downloadayatana-indicator-application-f8d65da606cc460ebac5f273b754e8885dc91433.tar.gz
ayatana-indicator-application-f8d65da606cc460ebac5f273b754e8885dc91433.tar.bz2
ayatana-indicator-application-f8d65da606cc460ebac5f273b754e8885dc91433.zip
Adding an object to start tracking the lru of the app indicators
Diffstat (limited to 'src/application-service-lru-file.c')
-rw-r--r--src/application-service-lru-file.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/application-service-lru-file.c b/src/application-service-lru-file.c
new file mode 100644
index 0000000..3cbb1dc
--- /dev/null
+++ b/src/application-service-lru-file.c
@@ -0,0 +1,56 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "application-service-lru-file.h"
+
+typedef struct _AppLruFilePrivate AppLruFilePrivate;
+struct _AppLruFilePrivate {
+ gint temp;
+};
+
+#define APP_LRU_FILE_GET_PRIVATE(o) \
+ (G_TYPE_INSTANCE_GET_PRIVATE ((o), APP_LRU_FILE_TYPE, AppLruFilePrivate))
+
+static void app_lru_file_class_init (AppLruFileClass *klass);
+static void app_lru_file_init (AppLruFile *self);
+static void app_lru_file_dispose (GObject *object);
+static void app_lru_file_finalize (GObject *object);
+
+G_DEFINE_TYPE (AppLruFile, app_lru_file, G_TYPE_OBJECT);
+
+static void
+app_lru_file_class_init (AppLruFileClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ g_type_class_add_private (klass, sizeof (AppLruFilePrivate));
+
+ object_class->dispose = app_lru_file_dispose;
+ object_class->finalize = app_lru_file_finalize;
+
+ return;
+}
+
+static void
+app_lru_file_init (AppLruFile *self)
+{
+
+ return;
+}
+
+static void
+app_lru_file_dispose (GObject *object)
+{
+
+ G_OBJECT_CLASS (app_lru_file_parent_class)->dispose (object);
+ return;
+}
+
+static void
+app_lru_file_finalize (GObject *object)
+{
+
+ G_OBJECT_CLASS (app_lru_file_parent_class)->finalize (object);
+ return;
+}