yacos/client/src/main_window.h

32 lines
594 B
C
Raw Normal View History

2019-07-20 23:50:50 +02:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <gtk/gtk.h>
2019-07-24 20:22:10 +02:00
#include "scanner.h"
#include "cart_item.h"
2019-07-28 12:35:22 +02:00
#include "yacos_api.h"
2019-07-20 23:50:50 +02:00
struct mainWindow {
GtkWidget *main_window;
2019-07-28 12:35:22 +02:00
YacosApi *api;
2019-07-20 23:50:50 +02:00
GtkStack *stack_main;
struct page_intro {
GtkWidget *box;
} page_intro;
struct page_cart {
GtkWidget *box;
GtkListBox *list;
} page_cart;
};
struct mainWindow *mainWindow_new();
2019-07-28 12:35:22 +02:00
void mainWindow_set_yacos_api(struct mainWindow *mainWindow, YacosApi *api);
2019-07-24 20:22:10 +02:00
void mainWindow_scan_tags(YacosScanner *scanner, struct mainWindow *mainWindow);
2019-07-20 23:50:50 +02:00
#endif // MAINWINDOW_H