aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/notifier/CMakeLists.txt
blob: 670428023b8f0228f0686dd88dd9cfd41271d2b5 (plain) (blame)
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
project(libnotifier)

cmake_minimum_required(VERSION 2.4.7)

if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)


# qt plugin
ADD_DEFINITIONS( -Wall )
ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-DQT_PLUGIN)
ADD_DEFINITIONS(-DQT_NO_DEBUG)
ADD_DEFINITIONS(-DQT_SHARED)
ADD_DEFINITIONS(-DQT_THREAD)

include_directories(${CMAKE_CURRENT_BINARY_DIR})

SET(QT_INCLUDES
  ${QT_INCLUDES}
  ${CMAKE_CURRENT_SOURCE_DIR}/../../../
)

# libqmmpui & libqmmp
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../)
link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmpui)
link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp)

SET(libnotifier_SRCS
    settingsdialog.cpp
    notifier.cpp
    notifierfactory.cpp
    popupwidget.cpp
)

SET(libnotifier_MOC_HDRS
    settingsdialog.h
    notifierfactory.h
    notifier.h
    popupwidget.h
)

SET(libnotifier_RCCS 
    translations/translations.qrc
    notifier_images.qrc)

QT4_ADD_RESOURCES(libnotifier_RCC_SRCS ${libnotifier_RCCS})

QT4_WRAP_CPP(libnotifier_MOC_SRCS ${libnotifier_MOC_HDRS})

# user interface


SET(libnotifier_UIS
    settingsdialog.ui
)

QT4_WRAP_UI(libnotifier_UIS_H ${libnotifier_UIS})
# Don't forget to include output directory, otherwise
# the UI file won't be wrapped!
include_directories(${CMAKE_CURRENT_BINARY_DIR})

ADD_LIBRARY(notifier SHARED ${libnotifier_SRCS} ${libnotifier_MOC_SRCS} ${libnotifier_UIS_H} ${libnotifier_RCC_SRCS})
add_dependencies(notifier qmmpui)
target_link_libraries(notifier ${QT_LIBRARIES} -lqmmpui -lqmmp)
install(TARGETS notifier DESTINATION ${LIB_DIR}/qmmp/General)
-19 06:08:39 +0000 updated .ts files' href='/qmmp/commit/src/plugins/General/streambrowser/translations/streambrowser_plugin_zh_TW.ts?id=29ba92f7e9ad3d3f397a592f8c2b1770b9fee380'>29ba92f7e
0bc5775ba



29ba92f7e
8d0f501a7
0bc5775ba


29ba92f7e
0bc5775ba
b2233c19a
0bc5775ba









bd16af99a





0bc5775ba



bd16af99a
0bc5775ba



bd16af99a
0bc5775ba
b2233c19a
0bc5775ba

bd16af99a
0bc5775ba



87b310fbe

0bc5775ba
b2233c19a
0bc5775ba

87b310fbe

0bc5775ba
b2233c19a
0bc5775ba

87b310fbe

0bc5775ba
b2233c19a
0bc5775ba

87b310fbe

0bc5775ba
b2233c19a
0bc5775ba

2bd149386
87b310fbe



2bd149386
87b310fbe



2bd149386
87b310fbe



2bd149386
0bc5775ba
b2233c19a
0bc5775ba

2bd149386
7988d3534
0bc5775ba
b2233c19a
0bc5775ba

2bd149386
0bc5775ba
b2233c19a
0bc5775ba


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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133









                                                             




                                                             



                                     
                                                                    



                                                     
                                                                    



                                                     
                                                                    



                                                     
                                                                    
                                                                                           


                                                     
                                                                    
                                                                             
                                                                                    









                                                           





                                                           



                                                     
                                                           



                                                     
                                                            
                            
                                         

              
                                                            



                                                     

                                                            
                             
                                         

              

                                                            
                              
                                         

              

                                                            
                                
                                            

              

                                                            
                               
                                         

              
                                                             



                                                     
                                                             



                                                     
                                                             



                                                     
                                                             
                             
                                         

              
                                                             
                                                             
                              
                                         

              
                                                             
                                  
                                         


              
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="zh_TW">
<context>
    <name>StreamBrowser</name>
    <message>
        <location filename="../streambrowser.cpp" line="33"/>
        <source>Stream Browser</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streambrowser.cpp" line="35"/>
        <source>Ctrl+U</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>StreamBrowserFactory</name>
    <message>
        <location filename="../streambrowserfactory.cpp" line="30"/>
        <source>Stream Browser Plugin</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streambrowserfactory.cpp" line="51"/>
        <source>About Stream Browser Plugin</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streambrowserfactory.cpp" line="52"/>
        <source>Qmmp Stream Browser Plugin</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streambrowserfactory.cpp" line="53"/>
        <source>This plugin allows one to add stream from IceCast stream directory</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streambrowserfactory.cpp" line="54"/>
        <source>Written by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
        <translation>作者:Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
    </message>
</context>
<context>
    <name>StreamWindow</name>
    <message>
        <location filename="../streamwindow.ui" line="14"/>
        <source>Stream Browser</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streamwindow.ui" line="31"/>
        <source>Filter:</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streamwindow.ui" line="47"/>
        <source>Favorites</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streamwindow.ui" line="73"/>
        <source>IceCast</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streamwindow.ui" line="102"/>
        <source>Add</source>
        <translation>添加</translation>
    </message>
    <message>
        <location filename="../streamwindow.ui" line="109"/>
        <source>Update</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../streamwindow.cpp" line="51"/>
        <location filename="../streamwindow.cpp" line="69"/>
        <source>Name</source>
        <translation>名稱</translation>
    </message>
    <message>
        <location filename="../streamwindow.cpp" line="52"/>
        <location filename="../streamwindow.cpp" line="70"/>
        <source>Genre</source>
        <translation>流派</translation>
    </message>
    <message>
        <location filename="../streamwindow.cpp" line="53"/>
        <location filename="../streamwindow.cpp" line="71"/>