Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-dashboard
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-dashboard
Commits
e1f88da0
Unverified
Commit
e1f88da0
authored
5 years ago
by
Dmitriy A. Gerasimov
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #7 from kelvinblockchain/features-2290
Features 2290
parents
89bfc979
21bca717
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
KelvinDashboardGUI/main.cpp
+9
-0
9 additions, 0 deletions
KelvinDashboardGUI/main.cpp
KelvinDashboardService/main.cpp
+9
-0
9 additions, 0 deletions
KelvinDashboardService/main.cpp
with
18 additions
and
0 deletions
KelvinDashboardGUI/main.cpp
+
9
−
0
View file @
e1f88da0
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
#include
"DapSettingsCipher.h"
#include
"DapSettingsCipher.h"
#include
"DapServiceClient.h"
#include
"DapServiceClient.h"
#include
"DapServiceController.h"
#include
"DapServiceController.h"
#include
"DapLogger.h"
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
...
@@ -26,6 +27,14 @@ int main(int argc, char *argv[])
...
@@ -26,6 +27,14 @@ int main(int argc, char *argv[])
app
.
setApplicationName
(
"Kelvin Client"
);
app
.
setApplicationName
(
"Kelvin Client"
);
app
.
setWindowIcon
(
QIcon
(
":/Resources/Icons/icon.ico"
));
app
.
setWindowIcon
(
QIcon
(
":/Resources/Icons/icon.ico"
));
DapLogger
dapLogger
;
/// TODO: The code is commented out at the time of developing the logging strategy in the project
//#ifndef QT_DEBUG
#ifdef Q_OS_LINUX
dapLogger
.
setLogFile
(
QString
(
"/opt/%1/log/%2Gui.log"
).
arg
(
QString
(
DAP_BRAND
)).
arg
(
DAP_BRAND
));
#endif
//#endif
/// Local client.
/// Local client.
DapServiceClient
dapServiceClient
;
DapServiceClient
dapServiceClient
;
// Creating a service controller
// Creating a service controller
...
...
This diff is collapsed.
Click to expand it.
KelvinDashboardService/main.cpp
+
9
−
0
View file @
e1f88da0
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
#include
"DapHalper.h"
#include
"DapHalper.h"
#include
"DapChainDashboardService.h"
#include
"DapChainDashboardService.h"
#include
"DapLogger.h"
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
...
@@ -26,6 +27,14 @@ int main(int argc, char *argv[])
...
@@ -26,6 +27,14 @@ int main(int argc, char *argv[])
a
.
setOrganizationDomain
(
"demlabs.com"
);
a
.
setOrganizationDomain
(
"demlabs.com"
);
a
.
setApplicationName
(
"KelvinDashboardService"
);
a
.
setApplicationName
(
"KelvinDashboardService"
);
DapLogger
dapLogger
;
/// TODO: The code is commented out at the time of developing the logging strategy in the project
//#ifndef QT_DEBUG
#ifdef Q_OS_LINUX
dapLogger
.
setLogFile
(
QString
(
"/opt/%1/log/%2Service.log"
).
arg
(
QString
(
DAP_BRAND
)).
arg
(
DAP_BRAND
));
#endif
//#endif
// Creating the main application object
// Creating the main application object
DapChainDashboardService
service
;
DapChainDashboardService
service
;
service
.
start
();
service
.
start
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment