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

90 lines
1.8 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>
2008-08-07 04:09:47 +00:00
#include <Ecore_Str.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
{
2008-12-09 05:47:59 +00:00
char theme_path[PATH_MAX];
Ecore_Evas *main_win_ee;
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;
double scalef;
};
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 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"
#endif