git-svn-id: http://ltt.polymtl.ca/svn@319 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git] / ltt / branches / poly / include / lttv / gtkTraceSet.h
index ce2a37ef2a47e9ba609dc827628809087c12124b..f1df34367030be6f26bb4f7d13942d869f43ce7d 100644 (file)
@@ -25,7 +25,7 @@
  * @param view_constructor constructor of the viewer. 
  */
 
-void ToolbarItemReg(char ** pixmap, char *tooltip, lttv_constructor view_constructor);
+void toolbar_item_reg(char ** pixmap, char *tooltip, lttv_constructor view_constructor);
 
 
 /**
@@ -36,7 +36,7 @@ void ToolbarItemReg(char ** pixmap, char *tooltip, lttv_constructor view_constru
  * a reference to find out where the pixmap and tooltip are.
  */
 
-void ToolbarItemUnreg(lttv_constructor view_constructor);
+void toolbar_item_unreg(lttv_constructor view_constructor);
 
 
 /**
@@ -48,7 +48,7 @@ void ToolbarItemUnreg(lttv_constructor view_constructor);
  * @param view_constructor constructor of the viewer. 
  */
 
-void MenuItemReg(char *menu_path, char *menu_text, lttv_constructor view_constructor);
+void menu_item_reg(char *menu_path, char *menu_text, lttv_constructor view_constructor);
 
 
 /**
@@ -59,32 +59,7 @@ void MenuItemReg(char *menu_path, char *menu_text, lttv_constructor view_constru
  * a reference to find out where the menu_path and menu_text are.
  */
 
-void MenuItemUnreg(lttv_constructor view_constructor);
-
-
-/**
- * Attach a viewer to the current tab.
- * It will be called in the constructor of the viewer.
- * @param main_win the main window the viewer belongs to.
- * @param viewer viewer to be attached to the current tab
- */
-
-// Not Needed : Main window add widget returned by constructor
-//void AttachViewer(MainWindow *main_win, GtkWidget *viewer);
-
-
-/* ?? Maybe we do not need this function, when a widget is destroyed, 
- *    it will be removed automatically from its container             
- */
-// Not needed
-/**
- * Detach a viewer from the current tab.
- * It will be called in the destructor of the viewer.
- * @param main_win the main window the viewer belongs to.
- * @param viewer viewer to be detached from the current tab.
- */
-
-//void DetachViewer(MainWindow *main_win, GtkWidget *viewer);
+void menu_item_unreg(lttv_constructor view_constructor);
 
 
 /**
@@ -93,7 +68,7 @@ void MenuItemUnreg(lttv_constructor view_constructor);
  * @param info the message which will be shown in the status bar.
  */
 
-void UpdateStatus(MainWindow *main_win, char *info);
+void update_status(MainWindow *main_win, char *info);
 
 
 /**
@@ -105,7 +80,7 @@ void UpdateStatus(MainWindow *main_win, char *info);
  * @param time_interval a pointer where time interval will be stored.
  */
 
-void GetTimeWindow(MainWindow *main_win, TimeWindow *time_window);
+void get_time_window(MainWindow *main_win, TimeWindow *time_window);
 
 
 /**
@@ -116,12 +91,7 @@ void GetTimeWindow(MainWindow *main_win, TimeWindow *time_window);
  * @param time_interval a pointer where time interval is stored.
  */
 
-void SetTimeWindow(MainWindow *main_win, TimeWindow *time_window);
-
-/**
- * Function to get the time span of the main window's traceset.
- */
-void GetTracesetTimeSpan(MainWindow *main_win, TimeInterval *time_interval);
+void set_time_window(MainWindow *main_win, TimeWindow *time_window);
 
 /**
  * Function to get the current time/event of the current tab.
@@ -131,7 +101,7 @@ void GetTracesetTimeSpan(MainWindow *main_win, TimeInterval *time_interval);
  * @param time a pointer where time will be stored.
  */
 
-void GetCurrentTime(MainWindow *main_win, LttTime *time);
+void get_current_time(MainWindow *main_win, LttTime *time);
 
 
 /**
@@ -142,7 +112,7 @@ void GetCurrentTime(MainWindow *main_win, LttTime *time);
  * @param time a pointer where time is stored.
  */
 
-void SetCurrentTime(MainWindow *main_win, LttTime *time);
+void set_current_time(MainWindow *main_win, LttTime *time);
 
 
 /**
@@ -153,7 +123,7 @@ void SetCurrentTime(MainWindow *main_win, LttTime *time);
  * @param traceset a pointer to a traceset.
  */
 
-//void GetTraceset(MainWindow *main_win, Traceset *traceset);
+//void get_traceset(MainWindow *main_win, Traceset *traceset);
 
 
 /**
@@ -164,7 +134,7 @@ void SetCurrentTime(MainWindow *main_win, LttTime *time);
  * @param filter, a pointer to a filter.
  */
 
-//void GetFilter(MainWindow *main_win, Filter *filter);
+//void get_filter(MainWindow *main_win, Filter *filter);
 
 
 /**
@@ -176,8 +146,8 @@ void SetCurrentTime(MainWindow *main_win, LttTime *time);
  * @param main_win the main window the viewer belongs to.
  */
 
-void RegUpdateTimeInterval(LttvHook hook, gpointer hook_data,
-                          MainWindow * main_win);
+void reg_update_time_window(LttvHook hook, gpointer hook_data,
+                           MainWindow * main_win);
 
 
 /**
@@ -189,8 +159,8 @@ void RegUpdateTimeInterval(LttvHook hook, gpointer hook_data,
  * @param main_win the main window the viewer belongs to.
  */
 
-void UnregUpdateTimeInterval(LttvHook hook, gpointer hook_data,
-                            MainWindow * main_win);
+void unreg_update_time_window(LttvHook hook, gpointer hook_data,
+                             MainWindow * main_win);
 
 
 /**
@@ -202,7 +172,7 @@ void UnregUpdateTimeInterval(LttvHook hook, gpointer hook_data,
  * @param main_win the main window the viewer belongs to.
  */
 
-void RegUpdateTraceset(LttvHook hook, gpointer hook_data,
+void reg_update_traceset(LttvHook hook, gpointer hook_data,
                       MainWindow * main_win);
 
 
@@ -215,7 +185,7 @@ void RegUpdateTraceset(LttvHook hook, gpointer hook_data,
  * @param main_win the main window the viewer belongs to.
  */
 
-void UnregUpdateTraceset(LttvHook hook, gpointer hook_data,
+void unreg_update_traceset(LttvHook hook, gpointer hook_data,
                         MainWindow * main_win);
 
 
@@ -228,7 +198,7 @@ void UnregUpdateTraceset(LttvHook hook, gpointer hook_data,
  * @param main_win the main window the viewer belongs to.
  */
 
-void RegUpdateFilter(LttvHook hook, gpointer hook_data, 
+void reg_update_filter(LttvHook hook, gpointer hook_data, 
                     MainWindow *main_win);
 
 
@@ -241,7 +211,7 @@ void RegUpdateFilter(LttvHook hook, gpointer hook_data,
  * @param main_win the main window the viewer belongs to.
  */
 
-void UnregUpdateFilter(LttvHook hook,  gpointer hook_data,
+void unreg_update_filter(LttvHook hook,  gpointer hook_data,
                       MainWindow * main_win);
 
 
@@ -254,7 +224,7 @@ void UnregUpdateFilter(LttvHook hook,  gpointer hook_data,
  * @param main_win the main window the viewer belongs to.
  */
 
-void RegUpdateCurrentTime(LttvHook hook, gpointer hook_data, 
+void reg_update_current_time(LttvHook hook, gpointer hook_data, 
                          MainWindow *main_win);
 
 
@@ -267,7 +237,7 @@ void RegUpdateCurrentTime(LttvHook hook, gpointer hook_data,
  * @param main_win the main window the viewer belongs to.
  */
 
-void UnregUpdateCurrentTime(LttvHook hook, gpointer hook_data,
+void unreg_update_current_time(LttvHook hook, gpointer hook_data,
                            MainWindow * main_win);
 
 
@@ -279,7 +249,7 @@ void UnregUpdateCurrentTime(LttvHook hook, gpointer hook_data,
  * @param paned a pointer to a pane where the viewer is contained.
  */
 
-void SetFocusedPane(MainWindow *main_win, gpointer paned);
+void set_focused_pane(MainWindow *main_win, gpointer paned);
 
 
 /**
@@ -291,7 +261,7 @@ void SetFocusedPane(MainWindow *main_win, gpointer paned);
  * @param main_win the main window the viewer belongs to.
  */
 
-void RegUpdateDividor(LttvHook hook, gpointer hook_data, 
+void reg_update_dividor(LttvHook hook, gpointer hook_data, 
                      MainWindow *main_win);
 
 
@@ -304,7 +274,7 @@ void RegUpdateDividor(LttvHook hook, gpointer hook_data,
  * @param main_win the main window the viewer belongs to.
  */
 
-void UnregUpdateDividor(LttvHook hook, gpointer hook_data, 
+void unreg_update_dividor(LttvHook hook, gpointer hook_data, 
                        MainWindow *main_win);
 
 
@@ -316,7 +286,7 @@ void UnregUpdateDividor(LttvHook hook, gpointer hook_data,
  * @param position position of the hpane's dividor.
  */
 
-void SetHPaneDividor(MainWindow *main_win, gint position);
+void set_hpane_dividor(MainWindow *main_win, gint position);
 
 
 /**
@@ -327,8 +297,8 @@ void SetHPaneDividor(MainWindow *main_win, gint position);
  * @param end the end time of the last event to be processed.
  */
 
-void processTraceset(MainWindow *main_win, LttTime start, 
-                    LttTime end, unsigned maxNumEvents);
+void process_traceset_api(MainWindow *main_win, LttTime start, 
+                         LttTime end, unsigned maxNumEvents);
 
 
 /**
@@ -339,18 +309,18 @@ void processTraceset(MainWindow *main_win, LttTime start,
  * @param LttvHooks hooks to be registered.
  */
 
-void contextAddHooks(MainWindow *main_win ,
-                    LttvHooks *before_traceset, 
-                    LttvHooks *after_traceset,
-                    LttvHooks *check_trace, 
-                    LttvHooks *before_trace, 
-                    LttvHooks *after_trace, 
-                    LttvHooks *check_tracefile,
-                    LttvHooks *before_tracefile,
-                    LttvHooks *after_tracefile,
-                    LttvHooks *check_event, 
-                    LttvHooks *before_event, 
-                    LttvHooks *after_event);
+void context_add_hooks_api(MainWindow *main_win ,
+                          LttvHooks *before_traceset, 
+                          LttvHooks *after_traceset,
+                          LttvHooks *check_trace, 
+                          LttvHooks *before_trace, 
+                          LttvHooks *after_trace, 
+                          LttvHooks *check_tracefile,
+                          LttvHooks *before_tracefile,
+                          LttvHooks *after_tracefile,
+                          LttvHooks *check_event, 
+                          LttvHooks *before_event, 
+                          LttvHooks *after_event);
 
 
 /**
@@ -361,18 +331,18 @@ void contextAddHooks(MainWindow *main_win ,
  * @param LttvHooks hooks to be registered.
  */
 
-void contextRemoveHooks(MainWindow *main_win ,
-                       LttvHooks *before_traceset, 
-                       LttvHooks *after_traceset,
-                       LttvHooks *check_trace, 
-                       LttvHooks *before_trace, 
-                       LttvHooks *after_trace, 
-                       LttvHooks *check_tracefile,
-                       LttvHooks *before_tracefile,
-                       LttvHooks *after_tracefile,
-                       LttvHooks *check_event, 
-                       LttvHooks *before_event, 
-                       LttvHooks *after_event);
+void context_remove_hooks_api(MainWindow *main_win ,
+                             LttvHooks *before_traceset, 
+                             LttvHooks *after_traceset,
+                             LttvHooks *check_trace, 
+                             LttvHooks *before_trace, 
+                             LttvHooks *after_trace, 
+                             LttvHooks *check_tracefile,
+                             LttvHooks *before_tracefile,
+                             LttvHooks *after_tracefile,
+                             LttvHooks *check_event, 
+                             LttvHooks *before_event, 
+                             LttvHooks *after_event);
 
 
 /**
@@ -382,7 +352,7 @@ void contextRemoveHooks(MainWindow *main_win ,
  * @param end end time of the traceset.
  */
 
-void getTracesetTimeSpan(MainWindow *main_win, TimeInterval *time_span);
+void get_traceset_time_span(MainWindow *main_win, TimeInterval *time_span);
 
 
 /**
@@ -390,8 +360,8 @@ void getTracesetTimeSpan(MainWindow *main_win, TimeInterval *time_span);
  * @param main_win the main window the viewer belongs to.
  */
 
-void stateAddEventHooks(MainWindow *main_win );
-void stateRemoveEventHooks(MainWindow *main_win );
+void state_add_event_hooks_api(MainWindow *main_win );
+void state_remove_event_hooks_api(MainWindow *main_win );
 
 
 /**
@@ -399,8 +369,8 @@ void stateRemoveEventHooks(MainWindow *main_win );
  * @param main_win the main window the viewer belongs to.
  */
 
-void statsAddEventHooks(MainWindow *main_win );
-void statsRemoveEventHooks(MainWindow *main_win );
+void stats_add_event_hooks_api(MainWindow *main_win );
+void stats_remove_event_hooks_api(MainWindow *main_win );
 
 
 /**
@@ -408,4 +378,4 @@ void statsRemoveEventHooks(MainWindow *main_win );
  * @param main_win the main window the viewer belongs to.
  */
 
-LttvTracesetStats* getTracesetStats(MainWindow *main_win);
+LttvTracesetStats* get_traceset_stats_api(MainWindow *main_win);
This page took 0.02912 seconds and 4 git commands to generate.