projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn-id: http://ltt.polymtl.ca/svn@240 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
API
/
gtkTraceSet.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/API/gtkTraceSet.c
b/ltt/branches/poly/lttv/modules/gui/API/gtkTraceSet.c
index 019a96b8a51eff1599147e4c0f01b5c03cbc2cdc..aaaea0b766a71bdf1e4b9358eadafe48a1a30b8b 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/API/gtkTraceSet.c
+++ b/
ltt/branches/poly/lttv/modules/gui/API/gtkTraceSet.c
@@
-10,14
+10,14
@@
*
*/
*
*/
-#include
"common.h"
+#include
<lttv/common.h>
#include <ltt/ltt.h>
#include <lttv/lttv.h>
#include <lttv/mainWindow.h>
#include <lttv/gtkTraceSet.h>
#include <lttv/processTrace.h>
#include <ltt/ltt.h>
#include <lttv/lttv.h>
#include <lttv/mainWindow.h>
#include <lttv/gtkTraceSet.h>
#include <lttv/processTrace.h>
-#include
"toolbar.h"
-#include
"menu.h"
+#include
<lttv/toolbar.h>
+#include
<lttv/menu.h>
/**
* Internal function parts
/**
* Internal function parts
@@
-28,7
+28,7
@@
* @param view_constructor constructor of the viewer.
*/
* @param view_constructor constructor of the viewer.
*/
-void RemoveToolbar(
void *
view_constructor)
+void RemoveToolbar(
lttv_constructor
view_constructor)
{
g_printf("Toolbar for the viewer will be removed\n");
}
{
g_printf("Toolbar for the viewer will be removed\n");
}
@@
-38,7
+38,7
@@
void RemoveToolbar(void *view_constructor)
* @param view_constructor constructor of the viewer.
*/
* @param view_constructor constructor of the viewer.
*/
-void RemoveMenu(
void *
view_constructor)
+void RemoveMenu(
lttv_constructor
view_constructor)
{
g_printf("Menu entry for the viewer will be removed\n");
}
{
g_printf("Menu entry for the viewer will be removed\n");
}
@@
-97,7
+97,7
@@
void SetFilter(mainWindow * main_win, gpointer filter)
* @param view_constructor constructor of the viewer.
*/
* @param view_constructor constructor of the viewer.
*/
-void ToolbarItemReg(
GdkPixmap * pixmap, char *tooltip, void *
view_constructor)
+void ToolbarItemReg(
char ** pixmap, char *tooltip, lttv_constructor
view_constructor)
{
LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvToolbars * toolbar;
{
LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvToolbars * toolbar;
@@
-123,7
+123,7
@@
void ToolbarItemReg(GdkPixmap * pixmap, char *tooltip, void *view_constructor)
* a reference to find out where the pixmap and tooltip are.
*/
* a reference to find out where the pixmap and tooltip are.
*/
-void ToolbarItemUnreg(
void *
view_constructor)
+void ToolbarItemUnreg(
lttv_constructor
view_constructor)
{
LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvToolbars * toolbar;
{
LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvToolbars * toolbar;
@@
-147,7
+147,7
@@
void ToolbarItemUnreg(void *view_constructor)
* @param view_constructor constructor of the viewer.
*/
* @param view_constructor constructor of the viewer.
*/
-void MenuItemReg(char *menu_path, char *menu_text,
void *
view_constructor)
+void MenuItemReg(char *menu_path, char *menu_text,
lttv_constructor
view_constructor)
{
LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvMenus * menu;
{
LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvMenus * menu;
@@
-172,14
+172,14
@@
void MenuItemReg(char *menu_path, char *menu_text, void *view_constructor)
* a reference to find out where the menu_path and menu_text are.
*/
* a reference to find out where the menu_path and menu_text are.
*/
-void MenuItemUnreg(
void *
view_constructor)
+void MenuItemUnreg(
lttv_constructor
view_constructor)
{
LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvMenus * menu;
LttvAttributeValue value;
g_assert(lttv_iattribute_find_by_path(attributes_global,
{
LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvMenus * menu;
LttvAttributeValue value;
g_assert(lttv_iattribute_find_by_path(attributes_global,
- "viewers/menu", LTTV_POINTER, &value));
+ "viewers/menu", LTTV_POINTER, &value));
menu = (LttvMenus*)*(value.v_pointer);
if(lttv_menus_remove(menu, view_constructor))
menu = (LttvMenus*)*(value.v_pointer);
if(lttv_menus_remove(menu, view_constructor))
@@
-575,9
+575,11
@@
void SetHPaneDividor(mainWindow *main_win, gint position)
* @param end the end time of the last event to be processed.
*/
* @param end the end time of the last event to be processed.
*/
-void processTraceset(mainWindow *main_win, LttTime start, LttTime end)
+void processTraceset(mainWindow *main_win, LttTime start,
+ LttTime end, unsigned maxNumEvents)
{
{
- lttv_process_trace(start, end, main_win->traceset, main_win->traceset_context);
+ lttv_process_trace(start, end, main_win->traceset,
+ main_win->traceset_context, maxNumEvents);
}
/**
}
/**
This page took
0.024731 seconds
and
4
git commands to generate.