libguicontrolflow_la_SOURCES = module.c eventhooks.c cfv.c processlist.c\
drawing.c drawitem.c
-noinst_HEADERS = eventhooks.h cfv.h cfv-private.h processlist.h\
+noinst_HEADERS = eventhooks.h cfv.h processlist.h\
drawing.h drawitem.h
EXTRA_DIST = \
#include "drawing.h"
#include "processlist.h"
#include "eventhooks.h"
-#include "cfv-private.h"
#include <lttv/lttv.h>
extern GSList *g_control_flow_data_list;
#include "processlist.h"
+#ifndef TYPE_DRAWING_T_DEFINED
+#define TYPE_DRAWING_T_DEFINED
+typedef struct _Drawing_t Drawing_t;
+#endif //TYPE_DRAWING_T_DEFINED
+
+#ifndef TYPE_CONTROLFLOWDATA_DEFINED
+#define TYPE_CONTROLFLOWDATA_DEFINED
+typedef struct _ControlFlowData ControlFlowData;
+#endif //TYPE_CONTROLFLOWDATA_DEFINED
+
struct _ControlFlowData {
GtkWidget *top_widget;
} ;
-
-
-typedef struct _ControlFlowData ControlFlowData;
-
/* Control Flow Data constructor */
ControlFlowData *guicontrolflow(void);
void
#include "drawing.h"
#include "eventhooks.h"
#include "cfv.h"
-#include "cfv-private.h"
#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
#define g_debug(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
* of the shown processes.
*/
+#ifndef TYPE_DRAWING_T_DEFINED
+#define TYPE_DRAWING_T_DEFINED
typedef struct _Drawing_t Drawing_t;
+#endif //TYPE_DRAWING_T_DEFINED
+
+#ifndef TYPE_CONTROLFLOWDATA_DEFINED
+#define TYPE_CONTROLFLOWDATA_DEFINED
+typedef struct _ControlFlowData ControlFlowData;
+#endif //TYPE_CONTROLFLOWDATA_DEFINED
struct _Drawing_t {
GtkWidget *vbox;
#include "cfv.h"
#include "processlist.h"
#include "drawing.h"
-#include "cfv-private.h"
#define MAX_PATH_LEN 256
}
-
-static inline gint get_cell_height(ProcessList *process_list, GtkTreeView *tree_view)
-{
- gint height = process_list->cell_height_cache;
- if(height != -1) return height;
- else {
- GtkTreeViewColumn *Column = gtk_tree_view_get_column(tree_view, 0);
-
- gtk_tree_view_column_cell_get_size(Column, NULL, NULL, NULL, NULL,
- &process_list->cell_height_cache);
- }
-
-
- return process_list->cell_height_cache;
-}
-
void destroy_hash_key(gpointer key)
{
g_free(key);