retabulation 2 spaces
[lttv.git] / ltt / branches / poly / lttv / modules / guiControlFlow / Process_List.h
index 9b2d7b1f2055af4e157a5f62f3beb21c8f9171b1..625c9bcb16cd246e6cec351f34b03eddd2f648ff 100644 (file)
  * contains the data for the process list
  * tells the height of the process list widget
  * provides methods to add/remove process from the list
- *     note : the sync with drawing is left to the caller.
+ *  note : the sync with drawing is left to the caller.
  * provides helper function to convert a process unique identifier to
- *     pixels (in height).
+ *  pixels (in height).
  *
  * //FIXME : connect the scrolled window adjustment with the list.
  */
 
 typedef struct _ProcessInfo {
-       
-       guint pid;
-       LttTime birth;
+  
+  guint pid;
+  LttTime birth;
 
 } ProcessInfo;
 
 typedef struct _HashedProcessData {
-       
-       GtkTreeRowReference *RowRef;
-       DrawContext *draw_context;
+  
+  GtkTreeRowReference *RowRef;
+  DrawContext *draw_context;
 
 } HashedProcessData;
-       
+  
 struct _ProcessList {
-       
-       GtkWidget *Process_List_VC;
-       GtkListStore *Store_M;
+  
+  GtkWidget *Process_List_VC;
+  GtkListStore *Store_M;
 
-       /* A hash table by PID to speed up process position find in the list */
-       GHashTable *Process_Hash;
-       
-       guint Number_Of_Process;
-       gboolean Test_Process_Sent;
+  /* A hash table by PID to speed up process position find in the list */
+  GHashTable *Process_Hash;
+  
+  guint Number_Of_Process;
+  gboolean Test_Process_Sent;
 
 };
 
@@ -56,8 +56,8 @@ GtkWidget *processlist_get_widget(ProcessList *Process_List);
 
 // out : success (0) and height
 int processlist_add(ProcessList *Process_List, guint pid, LttTime *birth,
-               gchar *name,
-               guint *height, HashedProcessData **Hashed_Process_Data);
+    gchar *name,
+    guint *height, HashedProcessData **Hashed_Process_Data);
 // out : success (0) and height
 int processlist_remove(ProcessList *Process_List, guint pid, LttTime *birth);
 
@@ -65,14 +65,14 @@ guint processlist_get_height(ProcessList *Process_List);
 
 // Returns 0 on success
 gint processlist_get_process_pixels(ProcessList *Process_List,
-                               guint pid, LttTime *birth,
-                               guint *y, guint *height,
-                               HashedProcessData **Hashed_Process_Data);
-
-gint processlist_get_pixels_from_data( ProcessList *Process_List,
-                                       ProcessInfo *process_info,
-                                       HashedProcessData *Hashed_Process_Data,
-                                       guint *y,
-                                       guint *height);
+        guint pid, LttTime *birth,
+        guint *y, guint *height,
+        HashedProcessData **Hashed_Process_Data);
+
+gint processlist_get_pixels_from_data(  ProcessList *Process_List,
+          ProcessInfo *process_info,
+          HashedProcessData *Hashed_Process_Data,
+          guint *y,
+          guint *height);
 
 #endif // _PROCESS_LIST_H
This page took 0.024192 seconds and 4 git commands to generate.