summaryrefslogtreecommitdiff
path: root/src/trg-files-tree.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2013-02-20 19:17:08 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2013-02-20 19:17:08 +0000
commit6feb984156f7e504a00ad8edfef84993ad1b3e74 (patch)
treea66d80c8e0f77def2b7e7d4002c090ef81866c48 /src/trg-files-tree.h
parent2ebc0a5cd92b753271316e0e00a5fddc51d0cbf0 (diff)
update year in copyright headers, fix the jumbled file lists (caused by unsorted files)
Diffstat (limited to 'src/trg-files-tree.h')
-rw-r--r--src/trg-files-tree.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/trg-files-tree.h b/src/trg-files-tree.h
index bfd9189..c5072b6 100644
--- a/src/trg-files-tree.h
+++ b/src/trg-files-tree.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
#ifndef TRG_FILES_TREE_H_
#define TRG_FILES_TREE_H_
-#include <glib-object.h>
+#include <glib.h>
#include <json-glib/json-glib.h>
#include "trg-files-tree.h"
@@ -30,12 +30,14 @@ typedef struct {
gint64 length;
gint64 bytesCompleted;
GList *children;
+ GHashTable *childrenHash;
gint index;
gpointer parent;
gint priority;
gint enabled;
} trg_files_tree_node;
+void trg_files_tree_node_add_child(trg_files_tree_node* node, trg_files_tree_node* child);
void trg_files_tree_node_free(trg_files_tree_node * node);
#endif /* TRG_FILES_MODEL_H_ */