experimental-legacy/ecdb/trunk/src/ecdb.h

95 lines
2.0 KiB
C
Raw Normal View History

/* vim: set sw=3 ts=3 sts=3 expandtab: */
#ifndef ECDB_H
#define ECDB_H
#include "config.h"
2008-08-04 23:28:43 +00:00
#include <Evas.h>
#include <Edje.h>
#include <Ecore.h>
#include <Ecore_Data.h>
#include <Ecore_File.h>
2008-08-04 22:18:34 +00:00
#include <Ecore_Evas.h>
2009-02-20 04:23:07 +00:00
#include <Ecore_Config.h>
#include <Ecore_X.h>
#include <Eina.h>
#include <Efreet_Mime.h>
2008-08-04 22:18:34 +00:00
#include <Efreet.h>
2008-08-06 02:21:20 +00:00
#include <Ewl.h>
2008-08-04 22:18:34 +00:00
#include <libburn/libburn.h>
#include <libisofs/libisofs.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libgen.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <limits.h>
//#define PATH_MAX 4095
#include <pthread.h>
2009-02-05 04:11:22 +00:00
typedef struct _Ecdb_Page Ecdb_Page;
struct _Ecdb_Page
{
Evas_Object *gui;
Evas_Object *welcome;
Evas_Object *filelist;
Evas_Object *data;
Evas_Object *audio;
Evas_Object *erase;
Evas_Object *image;
};
/* ECDB Global Variables */
typedef struct _Ecdb_Main Ecdb_Main;
struct _Ecdb_Main
{
2009-02-20 04:23:07 +00:00
char *theme_path;
double scalef;
char *engine;
int fps;
2008-12-09 05:47:59 +00:00
Ecore_Evas *main_win_ee;
2009-02-20 04:23:07 +00:00
Ecore_X_Window xwin;
2008-12-18 18:54:50 +00:00
Eina_List *drives;
2009-02-05 04:11:22 +00:00
/* Drag and drop stuff here */
Eina_List *evas_dnd_candidates;
Eina_List *ewl_dnd_candidates;
Evas_Object *evas_drop_object;
Ewl_Widget *ewl_drop_object;
2009-02-05 04:11:22 +00:00
/* Change this to a list at some point, but for now save some time
* and leave it singular
*/
Ecdb_Page *page;
};
extern Ecdb_Main *em;
2008-04-07 01:04:15 +00:00
/* Callbacks */
extern int ECDB_DRIVE_ACTION_FINISHED;
extern int ECDB_DRIVE_ACTION_BEGUN;
extern int ECDB_DRIVE_ACTION_UPDATE;
extern unsigned int ECDB_FILELIST_SIZE_CHANGED;
2008-04-07 01:04:15 +00:00
2008-05-15 00:14:33 +00:00
#include "ecdb_common.h"
#include "ecdb_projects.h"
#include "ecdb_drives.h"
#include "ecdb_image.h"
#include "ecdb_burn.h"
2008-11-03 14:56:30 +00:00
#include "ecdb_erase.h"
#include "ecdb_misc.h"
#include "ecdb_audio.h"
2008-06-06 03:02:27 +00:00
#include "ecdb_gui.h"
#include "ecdb_widgets.h"
#include "ecdb_erase_gui.h"
#include "ecdb_burn_image_gui.h"
#include "ecdb_burn_data_gui.h"
#include "ecdb_filelist_custom.h"
#include "ecdb_about.h"
2009-02-20 04:23:07 +00:00
#include "ecdb_config_dialog.h"
#endif