Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
mobile Datovka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Datovka projects
mobile Datovka
Commits
78ccf0ba
Commit
78ccf0ba
authored
Jan 17, 2019
by
Karel Slaný
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using pragma once in header files.
parent
982136bf
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
36 additions
and
121 deletions
+36
-121
ios/src/app_delegate.h
ios/src/app_delegate.h
+2
-0
ios/src/doc_view_controller.h
ios/src/doc_view_controller.h
+2
-0
ios/src/ios_file_opener.h
ios/src/ios_file_opener.h
+1
-4
ios/src/qt_app_delegate.h
ios/src/qt_app_delegate.h
+1
-4
ios/src/send_email_controller.h
ios/src/send_email_controller.h
+2
-0
ios/src/url_opener.h
ios/src/url_opener.h
+1
-4
src/common.h
src/common.h
+1
-4
src/crypto/crypto.h
src/crypto/crypto.h
+1
-5
src/dialogues/dialogues.h
src/dialogues/dialogues.h
+1
-4
src/dialogues/qml_dialogue_helper.h
src/dialogues/qml_dialogue_helper.h
+1
-4
src/dialogues/qml_input_dialogue.h
src/dialogues/qml_input_dialogue.h
+1
-4
src/dialogues/qml_message_dialogue.h
src/dialogues/qml_message_dialogue.h
+1
-4
src/dialogues/widget_input_dialogue.h
src/dialogues/widget_input_dialogue.h
+1
-4
src/dialogues/widget_message_dialogue.h
src/dialogues/widget_message_dialogue.h
+1
-4
src/isds/isds_conversion.h
src/isds/isds_conversion.h
+1
-4
src/locker.h
src/locker.h
+1
-4
src/models/databoxmodel.h
src/models/databoxmodel.h
+1
-4
src/models/list_sort_filter_proxy_model.h
src/models/list_sort_filter_proxy_model.h
+1
-4
src/os_android.h
src/os_android.h
+1
-4
src/qml_interaction/interaction_filesystem.h
src/qml_interaction/interaction_filesystem.h
+1
-4
src/qml_interaction/interaction_zfo_file.h
src/qml_interaction/interaction_zfo_file.h
+1
-4
src/qml_interaction/message_info.h
src/qml_interaction/message_info.h
+1
-4
src/qml_interaction/string_manipulation.h
src/qml_interaction/string_manipulation.h
+1
-4
src/worker/emitter.h
src/worker/emitter.h
+1
-4
src/worker/task.h
src/worker/task.h
+1
-4
src/worker/task_change_password.h
src/worker/task_change_password.h
+1
-4
src/worker/task_download_delivery_info.h
src/worker/task_download_delivery_info.h
+1
-4
src/worker/task_download_message.h
src/worker/task_download_message.h
+1
-4
src/worker/task_download_message_list.h
src/worker/task_download_message_list.h
+1
-4
src/worker/task_find_databox.h
src/worker/task_find_databox.h
+1
-4
src/worker/task_keep_alive.h
src/worker/task_keep_alive.h
+1
-4
src/worker/task_send_sms.h
src/worker/task_send_sms.h
+1
-4
src/zfo.h
src/zfo.h
+1
-4
No files found.
ios/src/app_delegate.h
View file @
78ccf0ba
...
...
@@ -21,6 +21,8 @@
* the two.
*/
#pragma once
#import <UIKit/UIKit.h>
#import <qt_app_delegate.h>
...
...
ios/src/doc_view_controller.h
View file @
78ccf0ba
...
...
@@ -21,6 +21,8 @@
* the two.
*/
#pragma once
#import <UIKit/UIKit.h>
@interface
DocViewController
:
UIViewController
<
UIDocumentInteractionControllerDelegate
>
...
...
ios/src/ios_file_opener.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _IOS_FILE_OPENER_H_
#define _IOS_FILE_OPENER_H_
#pragma once
#include <QtCore/QtGlobal>
...
...
@@ -38,5 +37,3 @@
@end
#endif
/* Q_OS_IOS */
#endif
/* _IOS_FILE_OPENER_H_ */
ios/src/qt_app_delegate.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef QTAPPDELEGATECINTERFACE_H
#define QTAPPDELEGATECINTERFACE_H
#pragma once
#include "src/qml_interaction/interaction_zfo_file.h"
...
...
@@ -33,5 +32,3 @@
* @param[in] interactionZfoFile Pointer to InteractionZfoFile object.
*/
void
QtAppDelegateInitialize
(
InteractionZfoFile
*
interactionZfoFile
);
#endif // QTAPPDELEGATECINTERFACE_H
ios/src/send_email_controller.h
View file @
78ccf0ba
...
...
@@ -21,6 +21,8 @@
* the two.
*/
#pragma once
#import <UIKit/UIKit.h>
#import <MessageUI/MessageUI.h>
#import <MessageUI/MFMailComposeViewController.h>
...
...
ios/src/url_opener.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _URL_OPENER_H_
#define _URL_OPENER_H_
#pragma once
#include <QObject>
#include <QString>
...
...
@@ -64,5 +63,3 @@ public:
void
createEmail
(
const
QString
&
bodyText
,
const
QString
&
to
,
const
QString
&
subject
,
const
QStringList
&
filePaths
);
};
#endif
/* _URL_OPENER_H_ */
src/common.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _COMMON_H_
#define _COMMON_H_
#pragma once
/* HTML INFO MACRO */
#define divStart "<div>"
...
...
@@ -30,5 +29,3 @@
(QString("<div><strong>") + (title) + ": </strong>" + (value) + \
"</div>")
#define divEnd "</div>"
#endif
/* _COMMON_H_ */
src/crypto/crypto.h
View file @
78ccf0ba
...
...
@@ -21,9 +21,7 @@
* the two.
*/
#ifndef _CRYPTO_H_
#define _CRYPTO_H_
#pragma once
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -49,5 +47,3 @@ int extract_cms_data(const void *cms, const size_t cms_length,
#ifdef __cplusplus
}
/* extern "C" */
#endif
#endif
/* _CRYPTO_H_ */
src/dialogues/dialogues.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _DIALOGUES_H_
#define _DIALOGUES_H_
#pragma once
#include <QObject>
...
...
@@ -138,5 +137,3 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(Dialogues::Buttons)
Q_DECLARE_METATYPE
(
Dialogues
::
EchoMode
)
Q_DECLARE_METATYPE
(
Dialogues
::
Icon
)
Q_DECLARE_METATYPE
(
Dialogues
::
Button
)
#endif
/* _DIALOGUES_H_ */
src/dialogues/qml_dialogue_helper.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _QML_DIALOGUE_HELPER_H_
#define _QML_DIALOGUE_HELPER_H_
#pragma once
#include <QObject>
#include <QString>
...
...
@@ -114,5 +113,3 @@ signals:
*/
void
closed
(
int
button
,
int
customButton
);
};
#endif
/* _QML_DIALOGUE_HELPER_H_ */
src/dialogues/qml_input_dialogue.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _QML_INPUT_DIALOGUE_H_
#define _QML_INPUT_DIALOGUE_H_
#pragma once
#include <QEventLoop>
#include <QObject>
...
...
@@ -99,5 +98,3 @@ private:
static
QObject
*
s_dlgTextInput
;
/*!< Persistent text input dialogue. */
};
#endif
/* _QML_INPUT_DIALOGUE_H_ */
src/dialogues/qml_message_dialogue.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _QML_MESSAGE_DIALOGUE_H_
#define _QML_MESSAGE_DIALOGUE_H_
#pragma once
#include <QEventLoop>
#include <QObject>
...
...
@@ -73,5 +72,3 @@ private:
bool
m_alreadyReturned
;
/*!< True if dialogue closed before loop start. */
QEventLoop
m_loop
;
/*!< Loop used for action blocking. */
};
#endif
/* _QML_MESSAGE_DIALOGUE_H_ */
src/dialogues/widget_input_dialogue.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _WIDGET_INPUT_DIALOGUE_H_
#define _WIDGET_INPUT_DIALOGUE_H_
#pragma once
#include <QInputDialog>
#include <QLineEdit>
...
...
@@ -89,5 +88,3 @@ private:
QPushButton
*
m_pasteButton
;
/*!< Convenience pointer to paste button. */
QObject
*
m_textField
;
/*!< Text field receiving the paste command. */
};
#endif
/* _WIDGET_INPUT_DIALOGUE_H_ */
src/dialogues/widget_message_dialogue.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _WIDGET_MESSAGE_DIALOGUE_H_
#define _WIDGET_MESSAGE_DIALOGUE_H_
#pragma once
#include <QMessageBox>
#include <QString>
...
...
@@ -78,5 +77,3 @@ public:
void
errorMessage
(
enum
QMessageBox
::
Icon
icon
,
const
QString
&
title
,
const
QString
&
text
,
const
QString
&
infoText
);
};
#endif
/* _WIDGET_MESSAGE_DIALOGUE_H_ */
src/isds/isds_conversion.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _ISDS_CONVERSION_H_
#define _ISDS_CONVERSION_H_
#pragma once
#include <QCoreApplication> // Q_DECLARE_TR_FUNCTIONS
#include <QString>
...
...
@@ -76,5 +75,3 @@ public:
static
QString
dmStatusToText
(
int
status
);
};
#endif
/* _ISDS_CONVERSION_H_ */
src/locker.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _LOCKER_H_
#define _LOCKER_H_
#pragma once
#include <QObject>
#include <QTimer>
...
...
@@ -102,5 +101,3 @@ private:
* be ignored.
*/
};
#endif
/* _LOCKER_H_ */
src/models/databoxmodel.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _DATABOXMODEL_H_
#define _DATABOXMODEL_H_
#pragma once
#include <QAbstractListModel>
#include <QObject>
...
...
@@ -335,5 +334,3 @@ private:
/* QML passes its arguments via QVariant. */
Q_DECLARE_METATYPE
(
DataboxListModel
)
Q_DECLARE_METATYPE
(
DataboxListModel
::
Roles
)
#endif
/* _DATABOXMODEL_H_ */
src/models/list_sort_filter_proxy_model.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _LIST_SORT_FILTER_PROXY_MODEL_H_
#define _LIST_SORT_FILTER_PROXY_MODEL_H_
#pragma once
#include <QList>
#include <QSortFilterProxyModel>
...
...
@@ -131,5 +130,3 @@ private:
/* QML passes its arguments via QVariant. */
Q_DECLARE_METATYPE
(
ListSortFilterProxyModel
)
#endif
/* _LIST_SORT_FILTER_PROXY_MODEL_H_ */
src/os_android.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _OS_ANDROID_H_
#define _OS_ANDROID_H_
#pragma once
#include <QObject>
...
...
@@ -70,5 +69,3 @@ public slots:
private:
InteractionZfoFile
&
m_inter
;
/*!< QML interaction object. */
};
#endif
/* _OS_ANDROID_H_ */
src/qml_interaction/interaction_filesystem.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _INTERACTION_FILESYSTEM_H_
#define _INTERACTION_FILESYSTEM_H_
#pragma once
#include <QObject>
#include <QString>
...
...
@@ -98,5 +97,3 @@ public:
/* QML passes its arguments via QVariant. */
Q_DECLARE_METATYPE
(
InteractionFilesystem
)
Q_DECLARE_METATYPE
(
InteractionFilesystem
::
Location
)
#endif
/* _INTERACTION_FILESYSTEM_H_ */
src/qml_interaction/interaction_zfo_file.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _INTERACTION_ZFO_FILE_H_
#define _INTERACTION_ZFO_FILE_H_
#pragma once
#include <QObject>
...
...
@@ -59,5 +58,3 @@ signals:
*/
void
displayZfoFileContent
(
QString
filePath
);
};
#endif
/* _INTERACTION_ZFO_FILE_H_ */
src/qml_interaction/message_info.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _MESSAGE_INFO_H_
#define _MESSAGE_INFO_H_
#pragma once
#include <QObject>
#include <QString>
...
...
@@ -104,5 +103,3 @@ private:
/* QML passes its arguments via QVariant. */
Q_DECLARE_METATYPE
(
MsgInfo
)
Q_DECLARE_METATYPE
(
MsgInfo
::
ZfoType
)
#endif
/* _MESSAGE_INFO_H_ */
src/qml_interaction/string_manipulation.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _STRING_MANIPULATION_H_
#define _STRING_MANIPULATION_H_
#pragma once
#include <QObject>
#include <QString>
...
...
@@ -43,5 +42,3 @@ public:
Q_INVOKABLE
static
QString
removeRich
(
const
QString
&
inStr
);
};
#endif
/* _STRING_MANIPULATION_H_ */
src/worker/emitter.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _MESSAGE_EMITTER_H_
#define _MESSAGE_EMITTER_H_
#pragma once
#include <QObject>
...
...
@@ -113,5 +112,3 @@ signals:
*/
void
rmSyncFinishedSignal
(
QString
userName
,
int
accNumber
,
int
accTotal
);
};
#endif
/* _MESSAGE_EMITTER_H_ */
src/worker/task.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _TASK_H_
#define _TASK_H_
#pragma once
#include <QRunnable>
#include <QString>
...
...
@@ -39,5 +38,3 @@ public:
virtual
void
run
(
void
)
=
0
;
};
#endif
/* _TASK_H_ */
src/worker/task_change_password.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _TASK_CHANGE_PASSWORD_H_
#define _TASK_CHANGE_PASSWORD_H_
#pragma once
#include "src/net/isds_session.h"
#include "src/net/net_layer.h"
...
...
@@ -94,5 +93,3 @@ private:
QString
m_oldPwd
;
/*!< Old password. */
QString
m_newPwd
;
/*!< New password. */
};
#endif
/* _TASK_CHANGE_PASSWORD_H_ */
src/worker/task_download_delivery_info.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _TASK_DOWNLOAD_DELIVERY_INFO_H_
#define _TASK_DOWNLOAD_DELIVERY_INFO_H_
#pragma once
#include "src/net/isds_session.h"
#include "src/net/net_layer.h"
...
...
@@ -85,5 +84,3 @@ private:
NetLayer
*
m_netLayer
;
/*!< Pointer to network manager to send request. */
qint64
m_msgId
;
/*!< Message ID. */
};
#endif
/* _TASK_DOWNLOAD_DELIVERY_INFO_H_ */
src/worker/task_download_message.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _TASK_DOWNLOAD_MESSAGE_H_
#define _TASK_DOWNLOAD_MESSAGE_H_
#pragma once
#include "src/models/messagemodel.h"
#include "src/net/isds_session.h"
...
...
@@ -104,5 +103,3 @@ private:
bool
m_saveZfo
;
/*!< Save ZFO to local storage. */
bool
m_isTestAccount
;
/*!< True if account is ISDS testing. */
};
#endif
/* _TASK_DOWNLOAD_MESSAGE_H_ */
src/worker/task_download_message_list.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _TASK_DOWNLOAD_MESSAGE_LIST_H_
#define _TASK_DOWNLOAD_MESSAGE_LIST_H_
#pragma once
#include <QString>
...
...
@@ -135,5 +134,3 @@ private:
bool
m_saveZfo
;
/*!< Save ZFO to local storage. */
bool
m_isTestAccount
;
/*!< True if account is ISDS testing. */
};
#endif
/* _TASK_DOWNLOAD_MESSAGE_LIST_H_ */
src/worker/task_find_databox.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _TASK_FIND_DATABOX_H_
#define _TASK_FIND_DATABOX_H_
#pragma once
#include <QCoreApplication>
/* Q_DECLARE_TR_FUNCTIONS */
...
...
@@ -97,5 +96,3 @@ private:
const
QString
m_dbID
;
/*!< Sought data-box ID. */
const
QString
m_dbType
;
/*!< Sought data-box type. */
};
#endif
/* _TASK_FIND_DATABOX_H_ */
src/worker/task_keep_alive.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _TASK_KEEP_ALIVE_H_
#define _TASK_KEEP_ALIVE_H_
#pragma once
#include <QRunnable>
#include <QString>
...
...
@@ -57,5 +56,3 @@ private:
IsdsSession
::
IsdsContext
m_ctx
;
/*!< Account isds context. */
NetLayer
*
m_netLayer
;
/*!< Pointer to network manager to send request. */
};
#endif
/* _TASK_KEEP_ALIVE_H_ */
src/worker/task_send_sms.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef _TASK_SEND_SMS_H_
#define _TASK_SEND_SMS_H_
#pragma once
#include "src/net/isds_session.h"
#include "src/net/net_layer.h"
...
...
@@ -79,5 +78,3 @@ private:
IsdsSession
::
IsdsContext
m_ctx
;
/*!< Account isds context. */
NetLayer
*
m_netLayer
;
/*!< Pointer to network manager to send request. */
};
#endif
/* _TASK_SEND_SMS_H_ */
src/zfo.h
View file @
78ccf0ba
...
...
@@ -21,8 +21,7 @@
* the two.
*/
#ifndef ZFO_H
#define ZFO_H
#pragma once
#include <QObject>
...
...
@@ -69,5 +68,3 @@ public:
Q_INVOKABLE
static
void
reduceZfoDbSize
(
unsigned
int
releaseSpaceInMB
);
};
#endif // ZFO_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment