2011-10-21 19:20:48 +04:00
|
|
|
#ifndef __PREDEFAPPS_H__
|
|
|
|
#define __PREDEFAPPS_H__
|
2011-10-20 19:13:04 +04:00
|
|
|
|
2011-10-21 19:20:48 +04:00
|
|
|
#include <edelib/Nls.h>
|
|
|
|
|
|
|
|
struct KnownApp {
|
|
|
|
const char *name;
|
|
|
|
const char *cmd;
|
|
|
|
};
|
|
|
|
|
|
|
|
#define KNOWN_APP_END {0, 0}
|
2011-10-20 19:13:04 +04:00
|
|
|
|
2011-10-21 19:50:43 +04:00
|
|
|
/* to allow inclusion from single place, without issuing gcc warnings */
|
|
|
|
#if KNOWN_APP_PREDEFINED
|
2011-10-20 19:13:04 +04:00
|
|
|
static KnownApp app_browsers[] = {
|
|
|
|
{"Mozilla Firefox", "firefox"},
|
|
|
|
{"Mozilla Seamonkey", "seamonkey"},
|
|
|
|
{"Google Chrome", "google-chrome"},
|
|
|
|
{"Midori", "midori"},
|
|
|
|
{"Konqueror", "konqueror"},
|
|
|
|
{"Dillo", "dillo"},
|
|
|
|
KNOWN_APP_END
|
|
|
|
};
|
|
|
|
|
|
|
|
static KnownApp app_mails[] = {
|
|
|
|
{"Mozilla Thunderbird", "thunderbird"},
|
2011-10-22 14:15:45 +04:00
|
|
|
{"Evolution", "evolution"},
|
2011-10-26 13:01:36 +04:00
|
|
|
{"Claws Mail", "claws-mail"},
|
2011-10-20 19:13:04 +04:00
|
|
|
KNOWN_APP_END
|
|
|
|
};
|
|
|
|
|
|
|
|
static KnownApp app_filemanagers[] = {
|
|
|
|
{"Thunar", "thunar"},
|
|
|
|
{"Nautilus", "nautilus"},
|
|
|
|
{"Dolphin", "dolphin"},
|
|
|
|
{"Konqueror", "konqueror"},
|
|
|
|
KNOWN_APP_END
|
|
|
|
};
|
|
|
|
|
|
|
|
static KnownApp app_terminals[] = {
|
|
|
|
{"X11 terminal", "xterm"},
|
|
|
|
{"Rxvt", "rxvt"},
|
|
|
|
{"Mrxvt", "mrxvt"},
|
|
|
|
{"Xfce Terminal", "xfterm4"},
|
2011-10-22 14:15:45 +04:00
|
|
|
{"GNOME Terminal", "gnome-terminal"},
|
2011-10-20 19:13:04 +04:00
|
|
|
KNOWN_APP_END
|
|
|
|
};
|
2011-10-21 19:50:43 +04:00
|
|
|
#endif
|
2011-10-20 19:13:04 +04:00
|
|
|
|
|
|
|
#endif
|