Thumbnail me
3.0
|
00001 /***************************************************************************/ 00019 #ifndef HEADER_DEFINES 00020 #define HEADER_DEFINES 00021 00022 #define APPLICATION_NAME QString("Thumbnail me") 00023 #define VERSION QString("3.0") 00024 #define WEBSITE_URL QString("http://www.thumbnailme.com") 00025 #define AUTHOR_EMAIL QString("[email protected]") 00026 #define TRANSLATION_HELP_URL QString("http://www.thumbnailme.com/translation-instructions") 00027 #define DONATION_URL QString("http://www.paypal.fr/cgi-bin/webscr?cmd=_donations&business= [email protected]&item_name=Donation_thumbnailme") 00028 #define IMAGESHACK_DEVELOPERKEY QString("EFI0O4JZd1897eb3d86758fa0ee582a34385405e") 00029 00030 #define _ERROR_ tr("Error") 00031 #define _INFORMATION_ tr("Information") 00032 #define _WARNING_ tr("Warning") 00033 00034 #define STYLE QPlastiqueStyle 00035 #define DEFAULT_TMP_EXTENSION QString(".tbme") 00036 #define TRANSLATORS QString(":/system_translators/") 00037 #define FONTS_CACHING QDir::toNativeSeparators(QDesktopServices::storageLocation(QDesktopServices::DataLocation)+"/fontscache.dat") 00038 00039 #if defined(Q_OS_WIN32) 00040 #include <windows.h> 00041 #define usleep(ms) Sleep(ms); 00042 #define FACTOR_TIME 1 00043 #define DEFAULT_PATH_FONT QDesktopServices::storageLocation(QDesktopServices::FontsLocation) 00044 #define DEFAULT_PATH_MTN QString("./mtn/mtn.exe") 00045 #define DEFAULT_PATH_INI QSettings::UserScope 00046 #define DEFAULT_FILE_INI QString("settings") 00047 #define DEFAULT_PATH_LANG QString("./lang/") 00048 #define DOCS_PATH QString("./doc/thumbnailme_3.0.qhc") 00049 #endif 00050 00051 #if defined(Q_OS_LINUX) 00052 #include <unistd.h> 00053 #include <stdlib.h> 00054 #define FACTOR_TIME 1000 00055 #define DEFAULT_PATH_FONT QString("/usr/share/fonts/truetype/freefont") 00056 #define DEFAULT_PATH_MTN QString("/usr/bin/mtncore") 00057 #define DEFAULT_PATH_INI QSettings::UserScope 00058 #define DEFAULT_FILE_INI QString("settings") 00059 #define DEFAULT_PATH_LANG QString("./lang/") 00060 #define DOCS_PATH QString("./doc/thumbnailme_3.0.qhc") 00061 #endif 00062 00063 #define OUTPUT_FORMAT "bmp" << "jpeg" << "png" << "tiff" 00064 00065 #define VALID_EXTENSIONS "avi" \ 00066 << "mpeg"\ 00067 << "mpg" \ 00068 << "mkv" \ 00069 << "m2ts"\ 00070 << "ts" \ 00071 << "wmv" \ 00072 << "ogg" \ 00073 << "3gp" \ 00074 << "dat" \ 00075 << "mp4" \ 00076 << "m4v" \ 00077 << "mov" \ 00078 << "flv" \ 00079 << "swf" \ 00080 << "vob" 00081 00082 #endif // HEADER_DEFINES