-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopgui.h
44 lines (32 loc) · 867 Bytes
/
opgui.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef OPGUI_H
#define OPGUI_H
#define _APPNAME "OPGUI"
#include <gtk/gtk.h>
#include "deviceRW.h"
extern int StatusID;
extern GtkWidget *status_bar;
void onActivate(GtkApplication *_app, gpointer user_data);
void onShutdown(GtkApplication *_app, gpointer user_data);
void selectDataTab();
int sortIterCompareFunc(GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer userdata);
void Connect(GtkWidget *widget,GtkWidget *window);
void I2cspiR();
void I2cspiS();
void ProgID();
void ShowContext();
void TestHw();
int CheckS1();
void AddDevices(enum group_t groupFilter, const char *textFilter);
void GetSelectedDevice();
enum dev_column_t {
DEVICE_ID_COLUMN = 0,
DEVICE_NAME_COLUMN,
DEVICE_GROUP_COLUMN,
DEVICE_N_COLUMNS
};
enum sort_type_t {
SORT_STRING_NAME = 0,
SORT_STRING_GROUP
};
enum sort_data_type_t { SDT_STRING = 0 };
#endif