Skip to content

Commit cb74f4a

Browse files
committed
move guistartup.* from libmythui to libmyth
It is only used by MythContext so move the files to be with mythcontext.*.
1 parent 0242bb2 commit cb74f4a

File tree

7 files changed

+11
-13
lines changed

7 files changed

+11
-13
lines changed

mythtv/libs/libmyth/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ set(LIBMYTH_HEADERS
1212
mythexp.h
1313
)
1414

15-
set(LIBMYTH_HEADERS_NOT_INSTALLED backendselect.h dbsettings.h)
15+
set(LIBMYTH_HEADERS_NOT_INSTALLED
16+
backendselect.h
17+
dbsettings.h
18+
guistartup.h
19+
)
1620

1721
#
1822
# Declare the library
@@ -25,6 +29,7 @@ add_library(
2529
${LIBMYTH_HEADERS}
2630
backendselect.cpp
2731
dbsettings.cpp
32+
guistartup.cpp
2833
mythcontext.cpp
2934
)
3035

mythtv/libs/libmythui/guistartup.cpp renamed to mythtv/libs/libmyth/guistartup.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
//
2323
//////////////////////////////////////////////////////////////////////////////
2424

25-
26-
#include "langsettings.h"
27-
2825
// C++
2926
#include <chrono>
3027

@@ -44,6 +41,7 @@
4441
#include "libmythbase/mythtranslation.h"
4542

4643
// libmythui
44+
#include "libmythui/langsettings.h"
4745
#include "libmythui/mythdialogbox.h"
4846
#include "libmythui/mythmainwindow.h"
4947
#include "libmythui/mythscreenstack.h"

mythtv/libs/libmythui/guistartup.h renamed to mythtv/libs/libmyth/guistartup.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
#include <QEventLoop>
3232
#include <QTimer>
3333

34-
// MythDB headers
35-
#include "mythuiexp.h"
36-
3734
// MythBase headers
3835
#include "libmythbase/mythchrono.h"
3936

@@ -48,7 +45,7 @@ class MythUIStateType;
4845
class MythUIProgressBar;
4946
class MythTimer;
5047

51-
class MUI_PUBLIC GUIStartup : public MythScreenType
48+
class GUIStartup : public MythScreenType
5249
{
5350
Q_OBJECT
5451

mythtv/libs/libmyth/libmyth.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ contains(INCLUDEPATH, /usr/X11R6/include) {
2929

3030
# Input
3131
HEADERS += backendselect.h dbsettings.h
32+
HEADERS += guistartup.h
3233
HEADERS += mythcontext.h
3334
HEADERS += mythexp.h
3435

3536
SOURCES += backendselect.cpp dbsettings.cpp
37+
SOURCES += guistartup.cpp
3638
SOURCES += mythcontext.cpp
3739

3840
INCLUDEPATH += ..

mythtv/libs/libmyth/mythcontext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#include "libmythbase/referencecounter.h"
5252
#include "libmythbase/remotefile.h"
5353
#include "libmythbase/signalhandling.h"
54-
#include "libmythui/guistartup.h"
5554
#include "libmythui/langsettings.h"
5655
#include "libmythui/mediamonitor.h"
5756
#include "libmythui/mythdialogbox.h"
@@ -66,6 +65,7 @@
6665

6766
#include "backendselect.h"
6867
#include "dbsettings.h"
68+
#include "guistartup.h"
6969

7070
#define LOC QString("MythContext: ")
7171
static const QString sLocation = "MythContext";

mythtv/libs/libmythui/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ set(HEADERS_TO_INSTALL
7575

7676
set(LIBMYTHUI_HEADERS_NOT_INSTALLED
7777
devices/mythinputdevicehandler.h
78-
guistartup.h
7978
mythdisplay.h
8079
mythdisplaymode.h
8180
mythedid.h
@@ -100,7 +99,6 @@ add_library(
10099
${HEADERS_TO_INSTALL}
101100
${LIBMYTHUI_HEADERS_NOT_INSTALLED}
102101
devices/mythinputdevicehandler.cpp
103-
guistartup.cpp
104102
langsettings.cpp
105103
mediamonitor.cpp
106104
mythcolourspace.cpp

mythtv/libs/libmythui/libmythui.pro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ HEADERS += mythvrr.h
5050
HEADERS += mythcolourspace.h
5151
HEADERS += devices/mythinputdevicehandler.h
5252
HEADERS += mythuiprocedural.h
53-
HEADERS += guistartup.h
5453
HEADERS += langsettings.h
5554
HEADERS += mediamonitor.h
5655
HEADERS += mythterminal.h
@@ -93,7 +92,6 @@ SOURCES += mythvrr.cpp
9392
SOURCES += mythcolourspace.cpp
9493
SOURCES += devices/mythinputdevicehandler.cpp
9594
SOURCES += mythuiprocedural.cpp
96-
SOURCES += guistartup.cpp
9795
SOURCES += langsettings.cpp
9896
SOURCES += mediamonitor.cpp
9997
SOURCES += mythterminal.cpp

0 commit comments

Comments
 (0)