-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathglobalsettings.h
More file actions
68 lines (58 loc) · 2.47 KB
/
Copy pathglobalsettings.h
File metadata and controls
68 lines (58 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/****************************************************************************
**
** mysms - Send & receive all your SMS on your Notebook, PC or tablet – like on your smartphone
** Copyright (C) 2013 Up To Eleven
** All rights reserved.
**
**
** This library is free software. either version 2.1 of the License, or (at your option) any later version.
** you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation;
** either version 2.1 of the License, or (at your option) any later version.
**
**
** This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
** Without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
** See the GNU Lesser General Public License for more details.
**
** You should have received a copy of the GNU Lesser General Public License along with this library;
** if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
**
****************************************************************************/
#ifndef GLOBALSETTINGS_H
#define GLOBALSETTINGS_H
//////////////////// App definitions ////////////////////////
#define VERSION_MAJOR 2
#define VERSION_MIDDLE 1
#define VERSION_MINOR 1
#ifdef Q_OS_LINUX
#define ORGANIZATION_NAME "mysms"
#else
#define ORGANIZATION_NAME "sms.at"
#endif
#define APPLICATION_NAME "mysms"
#define APP_MUTEX_NAME "__mysms__"
//////////////////// System definitions ////////////////////
#define LIVE_SYSTEM
//#define WEBINSPECTOR
//#define CACHE_CLEAR
//////////////////// Popup definitions /////////////////////
#define POPUP_TEXT_MAX_SIZE 50
#define POPUP_OVERVIEW_TEXT_MAX_SIZE 15
#define POPUP_MESSAGE_MAX_SIZE 300
#define POPUP_FADEOUT_TIME 10000
#define POPUP_HOVER_FADEOUT_TIME 2000
#define POPUP_DELAY_TIME 500
#define POPUP_NUMBER 3
//////////////////// General definitions //////////////////
#ifdef LIVE_SYSTEM
#define SERVER_URL "https://app.mysms.com"
#else
#define SERVER_URL "http://app.mysms.gpa.sms.co.at"
#endif
#ifdef Q_OS_WIN
#define UPDATE_SUPPORTED
#endif
#define UPDATE_INSTALLER_URL "http://www.mysms.com/images/mysms/download/mysms-setup.exe"
#define UPDATE_INSTALLER_FILE_NAME "mysms-setup.exe"
#define UPDATE_VERSION_FILE_URL "http://www.mysms.com/images/mysms/download/padfiles/mysmspad.xml"
#endif // GLOBALSETTINGS_H