author | spiralman <spiralman> | 2002-07-23 22:34:51 (UTC) |
---|---|---|
committer | spiralman <spiralman> | 2002-07-23 22:34:51 (UTC) |
commit | 7b69ef59464072521adb20148d49f9c654c066ee (patch) (side-by-side diff) | |
tree | 449ef1dbfeac19f18b1ded20b4865353fa71452c | |
parent | c344a4f4d0a614cfeb75d1d935e1f519d473c068 (diff) | |
download | opie-7b69ef59464072521adb20148d49f9c654c066ee.zip opie-7b69ef59464072521adb20148d49f9c654c066ee.tar.gz opie-7b69ef59464072521adb20148d49f9c654c066ee.tar.bz2 |
Added code for irrecord frontend, doesnt work yet.
-rw-r--r-- | noncore/tools/remote/Makefile | 431 | ||||
-rw-r--r-- | noncore/tools/remote/Makefile.in | 325 | ||||
-rw-r--r-- | noncore/tools/remote/help_instructions | 1 | ||||
-rw-r--r-- | noncore/tools/remote/helptab.cpp | 27 | ||||
-rw-r--r-- | noncore/tools/remote/helptab.h | 26 | ||||
-rw-r--r-- | noncore/tools/remote/learntab.cpp | 171 | ||||
-rw-r--r-- | noncore/tools/remote/learntab.h | 31 | ||||
-rw-r--r-- | noncore/tools/remote/mainview.cpp | 7 | ||||
-rw-r--r-- | noncore/tools/remote/mainview.h | 2 | ||||
-rw-r--r-- | noncore/tools/remote/recorddialog.cpp | 81 | ||||
-rw-r--r-- | noncore/tools/remote/recorddialog.h | 43 | ||||
-rw-r--r-- | noncore/tools/remote/remote.pro | 6 |
12 files changed, 1139 insertions, 12 deletions
diff --git a/noncore/tools/remote/Makefile b/noncore/tools/remote/Makefile new file mode 100644 index 0000000..68b388b --- a/dev/null +++ b/noncore/tools/remote/Makefile @@ -0,0 +1,431 @@ +############################################################################# +# Automatically generated from noncore/tools/remote/Makefile.in +# Build options from +############################################################################# + +# Compiling +INTERFACE_DECL_PATH = . +SYSCONF_CXX = arm-linux-g++ +SYSCONF_CC = arm-linux-gcc +DASHCROSS = -arm + +# Compiling with support libraries +SYSCONF_CXXFLAGS_X11 = +SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include +SYSCONF_CXXFLAGS_OPENGL = -I/usr/X11R6/include + +# Compiling YACC output +SYSCONF_CXXFLAGS_YACC = -Wno-unused -Wno-parentheses + +# Linking with support libraries +SYSCONF_RPATH_X11 = +SYSCONF_RPATH_QT = -Wl,-rpath,$(QTDIR)/lib +SYSCONF_RPATH_OPENGL = -Wl,-rpath,/usr/X11R6/lib + +# Linking with support libraries +# X11 +SYSCONF_LFLAGS_X11 = +SYSCONF_LIBS_X11 = +# Qt, Qt+OpenGL +SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib +SYSCONF_LIBS_QT = -lqte$(QT_THREAD_SUFFIX) +SYSCONF_LIBS_QT_OPENGL = +# OpenGL +SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib +SYSCONF_LIBS_OPENGL = +# Yacc +SYSCONF_LIBS_YACC = + +# Linking applications +SYSCONF_LINK = arm-linux-gcc +SYSCONF_LFLAGS = +SYSCONF_LIBS = + +# Link flags for shared objects +SYSCONF_LFLAGS_SHOBJ = -shared + +# Flags for threading +SYSCONF_CFLAGS_THREAD = -D_REENTRANT +SYSCONF_CXXFLAGS_THREAD = -D_REENTRANT +SYSCONF_LFLAGS_THREAD = +SYSCONF_LIBS_THREAD = -lpthread + +# Meta-object compiler +SYSCONF_MOC = $(QTDIR)/bin/moc + +# UI compiler +SYSCONF_UIC = $(QTDIR)/bin/uic + +# Linking shared libraries +# - Build the $(TARGET) library, eg. lib$(TARGET).so.2.2.2 +# - Place target in $(DESTDIR) - which has a trailing / +# - Usually needs to incorporate $(VER_MAJ), $(VER_MIN) and $(VER_PATCH) +# +SYSCONF_LINK_SHLIB = arm-linux-gcc +SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ).$(VER_MIN).$(VER_PATCH) +SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared -Wl,-soname,lib$(TARGET).so.$(VER_MAJ) \ + $(LFLAGS) -o $(SYSCONF_LINK_TARGET_SHARED) \ + $(OBJECTS) $(OBJMOC) $(LIBS) && \ + mv $(SYSCONF_LINK_TARGET_SHARED) $(DESTDIR); \ + cd $(DESTDIR) && \ + rm -f lib$(TARGET).so lib$(TARGET).so.$(VER_MAJ) lib$(TARGET).so.$(VER_MAJ).$(VER_MIN); \ + ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so; \ + ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ); \ + ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ).$(VER_MIN) + +# Linking static libraries +# - Build the $(TARGET) library, eg. lib$(TARGET).a +# - Place target in $(DESTDIR) - which has a trailing / +# +SYSCONF_AR = arm-linux-ar cqs +SYSCONF_LINK_TARGET_STATIC = lib$(TARGET).a +SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \ + $(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC) +# Compiling application source +SYSCONF_CXXFLAGS = -pipe -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W +SYSCONF_CFLAGS = -pipe -O2 -Wall -W +# Default link type (static linking is still be used where required) +SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED) +SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED) +# Compiling library source +SYSCONF_CXXFLAGS_LIB = -fPIC +SYSCONF_CFLAGS_LIB = -fPIC +# Compiling shared-object source +SYSCONF_CXXFLAGS_SHOBJ = -fPIC +SYSCONF_CFLAGS_SHOBJ = -fPIC +# Linking Qt +SYSCONF_LIBS_QTLIB = $(SYSCONF_LFLAGS_X11) $(QT_LIBS_MT) $(QT_LIBS_OPT) +# Linking Qt applications +SYSCONF_LIBS_QTAPP = +############################################################################# + +####### Compiler, tools and options + +CXX = $(SYSCONF_CXX) $(QT_CXX_MT) +CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) +CC = $(SYSCONF_CC) $(QT_C_MT) +CFLAGS = $(SYSCONF_CFLAGS) +INCPATH = -I$(OPIEDIR)/include +LFLAGS = $(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT) +LIBS = $(SUBLIBS) -lqpe -lopie $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS) $(SYSCONF_LIBS_QTAPP) +MOC = $(SYSCONF_MOC) +UIC = $(SYSCONF_UIC) + +####### Target + +DESTDIR = $(OPIEDIR)/bin/ +VER_MAJ = 1 +VER_MIN = 0 +VER_PATCH = 0 +TARGET = remote +TARGET1 = lib$(TARGET).so.$(VER_MAJ) + +####### Files + +HEADERS = remotetab.h \ + learntab.h \ + configtab.h \ + topgroup.h \ + dvdgroup.h \ + channelgroup.h \ + vcrgroup.h \ + buttondialog.h \ + topgroupconf.h \ + dvdgroupconf.h \ + channelgroupconf.h \ + vcrgroupconf.h \ + mainview.h \ + recorddialog.h \ + helptab.h +SOURCES = remote.cpp \ + remotetab.cpp \ + learntab.cpp \ + configtab.cpp \ + topgroup.cpp \ + dvdgroup.cpp \ + channelgroup.cpp \ + vcrgroup.cpp \ + buttondialog.cpp \ + topgroupconf.cpp \ + dvdgroupconf.cpp \ + channelgroupconf.cpp \ + vcrgroupconf.cpp \ + mainview.cpp \ + recorddialog.cpp \ + helptab.cpp +OBJECTS = remote.o \ + remotetab.o \ + learntab.o \ + configtab.o \ + topgroup.o \ + dvdgroup.o \ + channelgroup.o \ + vcrgroup.o \ + buttondialog.o \ + topgroupconf.o \ + dvdgroupconf.o \ + channelgroupconf.o \ + vcrgroupconf.o \ + mainview.o \ + recorddialog.o \ + helptab.o +INTERFACES = +UICDECLS = +UICIMPLS = +SRCMOC = moc_remotetab.cpp \ + moc_learntab.cpp \ + moc_configtab.cpp \ + moc_buttondialog.cpp \ + moc_mainview.cpp \ + moc_recorddialog.cpp +OBJMOC = moc_remotetab.o \ + moc_learntab.o \ + moc_configtab.o \ + moc_buttondialog.o \ + moc_mainview.o \ + moc_recorddialog.o + + +####### Implicit rules + +.SUFFIXES: .cpp .cxx .cc .C .c + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cxx.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.C.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +####### Build rules + + +all: $(DESTDIR)$(TARGET) + +$(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) + $(SYSCONF_LINK) $(LFLAGS) -o $(DESTDIR)$(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) + +moc: $(SRCMOC) + +tmake: + tmake remote.pro + +clean: + -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) + -rm -f *~ core + -rm -f allmoc.cpp + +####### Extension Modules + +listpromodules: + @echo + +listallmodules: + @echo + +listaddonpromodules: + @echo + +listaddonentmodules: + @echo + + +REQUIRES= + +####### Sub-libraries + + +###### Combined headers + + + +####### Compile + +remote.o: remote.cpp \ + $(OPIEDIR)/include/qpe/qpeapplication.h \ + $(OPIEDIR)/include/qpe/resource.h \ + $(OPIEDIR)/include/qpe/config.h \ + mainview.h \ + remotetab.h \ + topgroup.h \ + dvdgroup.h \ + channelgroup.h \ + vcrgroup.h \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h \ + configtab.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h \ + helptab.h + +remotetab.o: remotetab.cpp \ + remotetab.h \ + $(OPIEDIR)/include/qpe/config.h \ + topgroup.h \ + dvdgroup.h \ + $(OPIEDIR)/include/qpe/resource.h \ + channelgroup.h \ + vcrgroup.h + +learntab.o: learntab.cpp \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h + +configtab.o: configtab.cpp \ + configtab.h \ + $(OPIEDIR)/include/qpe/config.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h + +topgroup.o: topgroup.cpp \ + topgroup.h \ + $(OPIEDIR)/include/qpe/config.h + +dvdgroup.o: dvdgroup.cpp \ + dvdgroup.h \ + $(OPIEDIR)/include/qpe/resource.h + +channelgroup.o: channelgroup.cpp \ + channelgroup.h + +vcrgroup.o: vcrgroup.cpp \ + vcrgroup.h \ + $(OPIEDIR)/include/qpe/resource.h + +buttondialog.o: buttondialog.cpp \ + buttondialog.h + +topgroupconf.o: topgroupconf.cpp \ + topgroupconf.h \ + $(OPIEDIR)/include/qpe/config.h + +dvdgroupconf.o: dvdgroupconf.cpp \ + dvdgroupconf.h + +channelgroupconf.o: channelgroupconf.cpp \ + channelgroupconf.h + +vcrgroupconf.o: vcrgroupconf.cpp \ + vcrgroupconf.h + +mainview.o: mainview.cpp \ + mainview.h \ + $(OPIEDIR)/include/qpe/qpeapplication.h \ + $(OPIEDIR)/include/qpe/resource.h \ + $(OPIEDIR)/include/qpe/config.h \ + remotetab.h \ + topgroup.h \ + dvdgroup.h \ + channelgroup.h \ + vcrgroup.h \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h \ + configtab.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h \ + helptab.h + +recorddialog.o: recorddialog.cpp \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h + +helptab.o: helptab.cpp \ + helptab.h + +moc_remotetab.o: moc_remotetab.cpp \ + remotetab.h \ + $(OPIEDIR)/include/qpe/config.h \ + topgroup.h \ + dvdgroup.h \ + $(OPIEDIR)/include/qpe/resource.h \ + channelgroup.h \ + vcrgroup.h + +moc_learntab.o: moc_learntab.cpp \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h + +moc_configtab.o: moc_configtab.cpp \ + configtab.h \ + $(OPIEDIR)/include/qpe/config.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h + +moc_buttondialog.o: moc_buttondialog.cpp \ + buttondialog.h + +moc_mainview.o: moc_mainview.cpp \ + mainview.h \ + $(OPIEDIR)/include/qpe/qpeapplication.h \ + $(OPIEDIR)/include/qpe/resource.h \ + $(OPIEDIR)/include/qpe/config.h \ + remotetab.h \ + topgroup.h \ + dvdgroup.h \ + channelgroup.h \ + vcrgroup.h \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h \ + configtab.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h \ + helptab.h + +moc_recorddialog.o: moc_recorddialog.cpp \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h + +moc_remotetab.cpp: remotetab.h + $(MOC) remotetab.h -o moc_remotetab.cpp + +moc_learntab.cpp: learntab.h + $(MOC) learntab.h -o moc_learntab.cpp + +moc_configtab.cpp: configtab.h + $(MOC) configtab.h -o moc_configtab.cpp + +moc_buttondialog.cpp: buttondialog.h + $(MOC) buttondialog.h -o moc_buttondialog.cpp + +moc_mainview.cpp: mainview.h + $(MOC) mainview.h -o moc_mainview.cpp + +moc_recorddialog.cpp: recorddialog.h + $(MOC) recorddialog.h -o moc_recorddialog.cpp + + + +lupdate: + lupdate remote.pro + +lrelease: + lrelease remote.pro + diff --git a/noncore/tools/remote/Makefile.in b/noncore/tools/remote/Makefile.in new file mode 100644 index 0000000..631c999 --- a/dev/null +++ b/noncore/tools/remote/Makefile.in @@ -0,0 +1,325 @@ +############################################################################# + +####### Compiler, tools and options + +CXX = $(SYSCONF_CXX) $(QT_CXX_MT) +CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) +CC = $(SYSCONF_CC) $(QT_C_MT) +CFLAGS = $(SYSCONF_CFLAGS) +INCPATH = -I$(OPIEDIR)/include +LFLAGS = $(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT) +LIBS = $(SUBLIBS) -lqpe -lopie $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS) $(SYSCONF_LIBS_QTAPP) +MOC = $(SYSCONF_MOC) +UIC = $(SYSCONF_UIC) + +####### Target + +DESTDIR = $(OPIEDIR)/bin/ +VER_MAJ = 1 +VER_MIN = 0 +VER_PATCH = 0 +TARGET = remote +TARGET1 = lib$(TARGET).so.$(VER_MAJ) + +####### Files + +HEADERS = remotetab.h \ + learntab.h \ + configtab.h \ + topgroup.h \ + dvdgroup.h \ + channelgroup.h \ + vcrgroup.h \ + buttondialog.h \ + topgroupconf.h \ + dvdgroupconf.h \ + channelgroupconf.h \ + vcrgroupconf.h \ + mainview.h \ + recorddialog.h \ + helptab.h +SOURCES = remote.cpp \ + remotetab.cpp \ + learntab.cpp \ + configtab.cpp \ + topgroup.cpp \ + dvdgroup.cpp \ + channelgroup.cpp \ + vcrgroup.cpp \ + buttondialog.cpp \ + topgroupconf.cpp \ + dvdgroupconf.cpp \ + channelgroupconf.cpp \ + vcrgroupconf.cpp \ + mainview.cpp \ + recorddialog.cpp \ + helptab.cpp +OBJECTS = remote.o \ + remotetab.o \ + learntab.o \ + configtab.o \ + topgroup.o \ + dvdgroup.o \ + channelgroup.o \ + vcrgroup.o \ + buttondialog.o \ + topgroupconf.o \ + dvdgroupconf.o \ + channelgroupconf.o \ + vcrgroupconf.o \ + mainview.o \ + recorddialog.o \ + helptab.o +INTERFACES = +UICDECLS = +UICIMPLS = +SRCMOC = moc_remotetab.cpp \ + moc_learntab.cpp \ + moc_configtab.cpp \ + moc_buttondialog.cpp \ + moc_mainview.cpp \ + moc_recorddialog.cpp +OBJMOC = moc_remotetab.o \ + moc_learntab.o \ + moc_configtab.o \ + moc_buttondialog.o \ + moc_mainview.o \ + moc_recorddialog.o + + +####### Implicit rules + +.SUFFIXES: .cpp .cxx .cc .C .c + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cxx.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.C.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +####### Build rules + + +all: $(DESTDIR)$(TARGET) + +$(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) + $(SYSCONF_LINK) $(LFLAGS) -o $(DESTDIR)$(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) + +moc: $(SRCMOC) + +tmake: + tmake remote.pro + +clean: + -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) + -rm -f *~ core + -rm -f allmoc.cpp + +####### Extension Modules + +listpromodules: + @echo + +listallmodules: + @echo + +listaddonpromodules: + @echo + +listaddonentmodules: + @echo + + +REQUIRES= + +####### Sub-libraries + + +###### Combined headers + + + +####### Compile + +remote.o: remote.cpp \ + $(OPIEDIR)/include/qpe/qpeapplication.h \ + $(OPIEDIR)/include/qpe/resource.h \ + $(OPIEDIR)/include/qpe/config.h \ + mainview.h \ + remotetab.h \ + topgroup.h \ + dvdgroup.h \ + channelgroup.h \ + vcrgroup.h \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h \ + configtab.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h \ + helptab.h + +remotetab.o: remotetab.cpp \ + remotetab.h \ + $(OPIEDIR)/include/qpe/config.h \ + topgroup.h \ + dvdgroup.h \ + $(OPIEDIR)/include/qpe/resource.h \ + channelgroup.h \ + vcrgroup.h + +learntab.o: learntab.cpp \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h + +configtab.o: configtab.cpp \ + configtab.h \ + $(OPIEDIR)/include/qpe/config.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h + +topgroup.o: topgroup.cpp \ + topgroup.h \ + $(OPIEDIR)/include/qpe/config.h + +dvdgroup.o: dvdgroup.cpp \ + dvdgroup.h \ + $(OPIEDIR)/include/qpe/resource.h + +channelgroup.o: channelgroup.cpp \ + channelgroup.h + +vcrgroup.o: vcrgroup.cpp \ + vcrgroup.h \ + $(OPIEDIR)/include/qpe/resource.h + +buttondialog.o: buttondialog.cpp \ + buttondialog.h + +topgroupconf.o: topgroupconf.cpp \ + topgroupconf.h \ + $(OPIEDIR)/include/qpe/config.h + +dvdgroupconf.o: dvdgroupconf.cpp \ + dvdgroupconf.h + +channelgroupconf.o: channelgroupconf.cpp \ + channelgroupconf.h + +vcrgroupconf.o: vcrgroupconf.cpp \ + vcrgroupconf.h + +mainview.o: mainview.cpp \ + mainview.h \ + $(OPIEDIR)/include/qpe/qpeapplication.h \ + $(OPIEDIR)/include/qpe/resource.h \ + $(OPIEDIR)/include/qpe/config.h \ + remotetab.h \ + topgroup.h \ + dvdgroup.h \ + channelgroup.h \ + vcrgroup.h \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h \ + configtab.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h \ + helptab.h + +recorddialog.o: recorddialog.cpp \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h + +helptab.o: helptab.cpp \ + helptab.h + +moc_remotetab.o: moc_remotetab.cpp \ + remotetab.h \ + $(OPIEDIR)/include/qpe/config.h \ + topgroup.h \ + dvdgroup.h \ + $(OPIEDIR)/include/qpe/resource.h \ + channelgroup.h \ + vcrgroup.h + +moc_learntab.o: moc_learntab.cpp \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h + +moc_configtab.o: moc_configtab.cpp \ + configtab.h \ + $(OPIEDIR)/include/qpe/config.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h + +moc_buttondialog.o: moc_buttondialog.cpp \ + buttondialog.h + +moc_mainview.o: moc_mainview.cpp \ + mainview.h \ + $(OPIEDIR)/include/qpe/qpeapplication.h \ + $(OPIEDIR)/include/qpe/resource.h \ + $(OPIEDIR)/include/qpe/config.h \ + remotetab.h \ + topgroup.h \ + dvdgroup.h \ + channelgroup.h \ + vcrgroup.h \ + learntab.h \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h \ + configtab.h \ + buttondialog.h \ + channelgroupconf.h \ + dvdgroupconf.h \ + topgroupconf.h \ + vcrgroupconf.h \ + helptab.h + +moc_recorddialog.o: moc_recorddialog.cpp \ + recorddialog.h \ + $(OPIEDIR)/include/opie/oprocess.h + +moc_remotetab.cpp: remotetab.h + $(MOC) remotetab.h -o moc_remotetab.cpp + +moc_learntab.cpp: learntab.h + $(MOC) learntab.h -o moc_learntab.cpp + +moc_configtab.cpp: configtab.h + $(MOC) configtab.h -o moc_configtab.cpp + +moc_buttondialog.cpp: buttondialog.h + $(MOC) buttondialog.h -o moc_buttondialog.cpp + +moc_mainview.cpp: mainview.h + $(MOC) mainview.h -o moc_mainview.cpp + +moc_recorddialog.cpp: recorddialog.h + $(MOC) recorddialog.h -o moc_recorddialog.cpp + + diff --git a/noncore/tools/remote/help_instructions b/noncore/tools/remote/help_instructions new file mode 100644 index 0000000..e52f513 --- a/dev/null +++ b/noncore/tools/remote/help_instructions @@ -0,0 +1 @@ +<qt><h1>Opie-Remote Usage Instructions</h1><p>First, some definitions. A Remote is a remote entry in an lircd.conf file, it represents one remote you want to emulate. A Remote Layout is one entry in your ~/Settings/Remote.conf file. It represents the buttons that you see on your screen. Each button on a Remote Layout can be mapped to any button in a Remote. This way you can have, for example, a vcr remote layout, in which all the play/pause/etc buttons are mapped to the buttons on your vcr's remote. However, most VCR's don't have volume controls, so the volume buttons can be mapped to the volume buttons on your TV.</p><p>The first things you need the lirc and lirc-modules ipkgs. If you installed this from an ipkg, they should already be there, thanks to the wonderful world of dependencies. If not, get them. The next thing you need is an lircd.conf file. you can get these at <a href=http://www.lirc.org/>http://www.lirc.org/</a>. Read the documentation there to figure out how to make your own, if one for your remote doesn't exist, or how to have multiple remotes in one lircd.conf file. Once you have a good lircd.conf file, put it in /etc, kill the lircd daemon (if its running) and do a modprobe lirc_sir. Then, run lircd again.</p><p>The next thing you want to do is to create a remote layout. Go to the config tab, and enter a name for your remote layout in the pulldown menu. Dont use the name Remotes, as that could confuse the app. Hopefully, that will be fixed soon. after entering the name you want to use, press New, and then select the name again from the pulldown menu (another oddity that i hope to fix). Then, press each button that you want to map, and a dialog should appear. Select the remote and button that you want to use, and click OK. Once you are done, go to the Remote tab, and select the new remote from the dropdown menu. It should works fine. If at any time you want to change a remote layout, go to the Config tab, select the layout from the dropdown menu, and change the buttons you want to change.</p><p>This is program is written and maintaned by Thomas (spiralman) Stephens. <a href=mailto:spiralman@softhome.net>spiralman@softhome.net</a>. Or, look for me on #opie or #handhelds.org on irc.openprojects.net.</p></qt>");
\ No newline at end of file diff --git a/noncore/tools/remote/helptab.cpp b/noncore/tools/remote/helptab.cpp new file mode 100644 index 0000000..3c53ab6 --- a/dev/null +++ b/noncore/tools/remote/helptab.cpp @@ -0,0 +1,27 @@ +/* +Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. +Copyright (C) 2002 Thomas Stephens + +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later +version. + +This program 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 General +Public License for more details. + +You should have received a copy of the GNU General Public License along with this program; if not, write to the Free +Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +#include "helptab.h" + +HelpTab::HelpTab(QWidget *parent=0, const char *name=0):QWidget(parent, name) +{ + QVBoxLayout *layout = new QVBoxLayout(this); + QString *string = new QString("<qt><h1>Opie-Remote Usage Instructions</h1><p>First, some definitions. A Remote is a remote entry in an lircd.conf file, it represents one remote you want to emulate. A Remote Layout is one entry in your ~/Settings/Remote.conf file. It represents the buttons that you see on your screen. Each button on a Remote Layout can be mapped to any button in a Remote. This way you can have, for example, a vcr remote layout, in which all the play/pause/etc buttons are mapped to the buttons on your vcr's remote. However, most VCR's don't have volume controls, so the volume buttons can be mapped to the volume buttons on your TV.</p><p>The first things you need the lirc and lirc-modules ipkgs. If you installed this from an ipkg, they should already be there, thanks to the wonderful world of dependencies. If not, get them. The next thing you need is an lircd.conf file. you can get these at <a href=http://www.lirc.org/>http://www.lirc.org/</a>. Read the documentation there to figure out how to make your own, if one for your remote doesn't exist, or how to have multiple remotes in one lircd.conf file. Once you have a good lircd.conf file, put it in /etc, kill the lircd daemon (if its running) and do a modprobe lirc_sir. Then, run lircd again.</p><p>The next thing you want to do is to create a remote layout. Go to the config tab, and enter a name for your remote layout in the pulldown menu. Dont use the name Remotes, as that could confuse the app. Hopefully, that will be fixed soon. after entering the name you want to use, press New, and then select the name again from the pulldown menu (another oddity that i hope to fix). Then, press each button that you want to map, and a dialog should appear. Select the remote and button that you want to use, and click OK. Once you are done, go to the Remote tab, and select the new remote from the dropdown menu. It should works fine. If at any time you want to change a remote layout, go to the Config tab, select the layout from the dropdown menu, and change the buttons you want to change.</p><p>This is program is written and maintaned by Thomas (spiralman) Stephens. <a href=mailto:spiralman@softhome.net>spiralman@softhome.net</a>. Or, look for me on #opie or #handhelds.org on irc.openprojects.net.</p></qt>"); + QTextView *view = new QTextView((const QString &)*string, 0, this, "view"); + layout->insertSpacing( -1, 5); + layout->insertWidget(-1, view); + layout->insertSpacing(-1, 5); +}
\ No newline at end of file diff --git a/noncore/tools/remote/helptab.h b/noncore/tools/remote/helptab.h new file mode 100644 index 0000000..f3f99b3 --- a/dev/null +++ b/noncore/tools/remote/helptab.h @@ -0,0 +1,26 @@ +/* +Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. +Copyright (C) 2002 Thomas Stephens + +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later +version. + +This program 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 General +Public License for more details. + +You should have received a copy of the GNU General Public License along with this program; if not, write to the Free +Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +#include <qwidget.h> +#include <qtextview.h> +#include <qstring.h> +#include <qlayout.h> + +class HelpTab : public QWidget +{ +public: + HelpTab(QWidget *parent=0, const char *name=0); +};
\ No newline at end of file diff --git a/noncore/tools/remote/learntab.cpp b/noncore/tools/remote/learntab.cpp index 998f449..1c746c5 100644 --- a/noncore/tools/remote/learntab.cpp +++ b/noncore/tools/remote/learntab.cpp @@ -18,9 +18,174 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA LearnTab::LearnTab(QWidget *parent, const char *name):QWidget(parent,name) { QVBoxLayout *layout = new QVBoxLayout(this); - QString *string = new QString("<qt><h1>Opie-Remote Usage Instructions</h1><p>First, some definitions. A Remote is a remote entry in an lircd.conf file, it represents one remote you want to emulate. A Remote Layout is one entry in your ~/Settings/Remote.conf file. It represents the buttons that you see on your screen. Each button on a Remote Layout can be mapped to any button in a Remote. This way you can have, for example, a vcr remote layout, in which all the play/pause/etc buttons are mapped to the buttons on your vcr's remote. However, most VCR's don't have volume controls, so the volume buttons can be mapped to the volume buttons on your TV.</p><p>The first things you need the lirc and lirc-modules ipkgs. If you installed this from an ipkg, they should already be there, thanks to the wonderful world of dependencies. If not, get them. The next thing you need is an lircd.conf file. you can get these at <a href=http://www.lirc.org/>http://www.lirc.org/</a>. Read the documentation there to figure out how to make your own, if one for your remote doesn't exist, or how to have multiple remotes in one lircd.conf file. Once you have a good lircd.conf file, put it in /etc, kill the lircd daemon (if its running) and do a modprobe lirc_sir. Then, run lircd again.</p><p>The next thing you want to do is to create a remote layout. Go to the config tab, and enter a name for your remote layout in the pulldown menu. Dont use the name Remotes, as that could confuse the app. Hopefully, that will be fixed soon. after entering the name you want to use, press New, and then select the name again from the pulldown menu (another oddity that i hope to fix). Then, press each button that you want to map, and a dialog should appear. Select the remote and button that you want to use, and click OK. Once you are done, go to the Remote tab, and select the new remote from the dropdown menu. It should works fine. If at any time you want to change a remote layout, go to the Config tab, select the layout from the dropdown menu, and change the buttons you want to change.</p><p>This is program is written and maintaned by Thomas (spiralman) Stephens. <a href=mailto:spiralman@softhome.net>spiralman@softhome.net</a>. Or, look for me on #opie or #handhelds.org on irc.openprojects.net.</p></qt>"); + QHBoxLayout *bottomLayout = new QHBoxLayout(this); - QTextView *textView = new QTextView(*string, 0, this); - layout->addWidget(textView); + layout->insertSpacing(0,5); + remotesBox = new QListBox(this, "remotesBox"); + layout->insertWidget(0, remotesBox, 1); + remotesBox->insertStringList(getRemotes()); + + layout->insertSpacing(-1,5); + layout->insertLayout(-1, bottomLayout); + layout->insertSpacing(-1,5); + + QPushButton *add = new QPushButton("Add", this, "add"); + bottomLayout->insertSpacing(-1, 5); + bottomLayout->insertWidget(-1, add); + bottomLayout->insertSpacing(-1, 5); + QPushButton *edit = new QPushButton("Edit", this, "edit"); + bottomLayout->insertWidget(-1, edit); + bottomLayout->insertSpacing(-1, 5); + QPushButton *del = new QPushButton("Delete", this, "delete"); + bottomLayout->insertWidget(-1, del); + bottomLayout->insertSpacing(-1, 5); + + connect(add, SIGNAL(clicked()), this, SLOT(add()) ); + connect(edit, SIGNAL(clicked()), this, SLOT(edit()) ); + connect(del, SIGNAL(clicked()), this, SLOT(del()) ); } + +void LearnTab::add() +{ + printf("LearnTab::add: add pressed\n"); + RecordDialog *dialog = new RecordDialog(this); + dialog->showMaximized(); +} + +void LearnTab::edit() +{ +} + +void LearnTab::del() +{ +} + +QStringList LearnTab::getRemotes() +{ + const char write_buffer[] = "LIST\n"; + const char *readbuffer; + int i, numlines; + QStringList list; + + addr.sun_family=AF_UNIX; + strcpy(addr.sun_path,"/dev/lircd"); + + fd = socket(AF_UNIX, SOCK_STREAM, 0); + if(fd == -1) + { + QMessageBox *mb = new QMessageBox("Error!", + "couldnt connect to socket", + QMessageBox::NoIcon, + QMessageBox::Ok, + QMessageBox::NoButton, + QMessageBox::NoButton); + mb->exec(); + perror("ButtonDialog::GetRemotes"); + return NULL; + } + + if(::connect(fd,(struct sockaddr *) &addr, sizeof(addr) ) == -1) + { + QMessageBox *mb = new QMessageBox("Error!", + "couldnt connect to socket", + QMessageBox::NoIcon, + QMessageBox::Ok, + QMessageBox::NoButton, + QMessageBox::NoButton); + mb->exec(); + perror("ButtonDialog::GetRemotes"); + return NULL; + } + + write(fd, write_buffer, strlen(write_buffer)); + + for(i=0; i<5; i++) + { + printf("%d\n", i); + readbuffer = readPacket(); + printf("%s", readbuffer); + printf("%d\n", i); + } + + numlines = atoi(readbuffer); + + for(i=0; i<numlines; i++) + { + list+=readPacket(); + } + + if(strcasecmp(readPacket(), "END") != 0) + { + QMessageBox *mb = new QMessageBox("Error!", + "bad packet", + QMessageBox::NoIcon, + QMessageBox::Ok, + QMessageBox::NoButton, + QMessageBox::NoButton); + mb->exec(); + perror("ButtonDialog::GetRemotes"); + return NULL; + } + + ::close(fd); + return list; +} + +//this function was ripped for rc.c in xrc, it is available here: http://www.lirc.org/software.html +const char *LearnTab::readPacket() +{ + static char buffer[PACKET_SIZE+1]=""; + char *end; + static int ptr=0,end_len=0; + ssize_t ret; + timeout = 0; + + if(ptr>0) + { + memmove(buffer,buffer+ptr,strlen(buffer+ptr)+1); + ptr=strlen(buffer); + end=strchr(buffer,'\n'); + } + else + { + end=NULL; + } + alarm(TIMEOUT); + while(end==NULL) + { + if(PACKET_SIZE<=ptr) + { + fprintf(stderr,"bad packet\n"); + ptr=0; + return(NULL); + } + ret=read(fd,buffer+ptr,PACKET_SIZE-ptr); + + if(ret<=0 || timeout) + { + if(timeout) + { + fprintf(stderr,"timeout\n"); + } + else + { + alarm(0); + } + ptr=0; + return(NULL); + } + buffer[ptr+ret]=0; + ptr=strlen(buffer); + end=strchr(buffer,'\n'); + } + alarm(0);timeout=0; + + end[0]=0; + ptr=strlen(buffer)+1; +//# ifdef DEBUG +// printf("buffer: -%s-\n",buffer); +//# endif + return(buffer); +} + diff --git a/noncore/tools/remote/learntab.h b/noncore/tools/remote/learntab.h index c03f605..cb84600 100644 --- a/noncore/tools/remote/learntab.h +++ b/noncore/tools/remote/learntab.h @@ -14,13 +14,42 @@ You should have received a copy of the GNU General Public License along with thi Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <qwidget.h> -#include <qtextview.h> +#include <qlistbox.h> #include <qstring.h> +#include <qstringlist.h> #include <qlayout.h> +#include <qpushbutton.h> +#include <qmessagebox.h> + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/socket.h> +#include <sys/types.h> +#include <sys/un.h> +#include <unistd.h> +#include <errno.h> + +#include "recorddialog.h" + +#define PACKET_SIZE 256 +#define TIMEOUT 3 class LearnTab : public QWidget { + Q_OBJECT public: LearnTab(QWidget *parent=0, const char *name=0); + const char *readPacket(); + QStringList getRemotes(); +public slots: + void add(); + void edit(); + void del(); +private: + QListBox *remotesBox; + int fd; + int timeout; + struct sockaddr_un addr; }; diff --git a/noncore/tools/remote/mainview.cpp b/noncore/tools/remote/mainview.cpp index a7be9e3..eaba7df 100644 --- a/noncore/tools/remote/mainview.cpp +++ b/noncore/tools/remote/mainview.cpp @@ -25,23 +25,20 @@ MainView::MainView(QWidget *parent, const char *name) : QWidget(parent, name) QTabWidget *tabs = new QTabWidget(this); layout->addWidget(tabs); - printf("MainView: 1\n"); remote = new RemoteTab(tabs); - printf("MainView: 2\n"); learn = new LearnTab(tabs); - printf("MainView: 3\n"); config = new ConfigTab(tabs); - printf("MainView: 4\n"); + help = new HelpTab(tabs); connect(config, SIGNAL(remotesChanged()), this, SLOT(updateRemotesList()) ); - printf("MainView: 5\n"); remote->setIRSocket(fd); tabs->addTab(remote, tr("Remote") ); tabs->addTab(learn,tr("Learn") ); tabs->addTab(config,tr("Config") ); + tabs->addTab(help, tr("Help") ); printf("1\n"); cfg = new Config("Remote"); printf("2\n"); diff --git a/noncore/tools/remote/mainview.h b/noncore/tools/remote/mainview.h index 2434064..e93da5c 100644 --- a/noncore/tools/remote/mainview.h +++ b/noncore/tools/remote/mainview.h @@ -32,8 +32,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "remotetab.h" #include "learntab.h" #include "configtab.h" +#include "helptab.h" #define BUFFERSIZE 256 class MainView : public QWidget @@ -49,6 +50,7 @@ private: int fd; RemoteTab *remote; ConfigTab *config; LearnTab *learn; + HelpTab *help; Config *cfg; }; diff --git a/noncore/tools/remote/recorddialog.cpp b/noncore/tools/remote/recorddialog.cpp new file mode 100644 index 0000000..642e99c --- a/dev/null +++ b/noncore/tools/remote/recorddialog.cpp @@ -0,0 +1,81 @@ +/* +Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. +Copyright (C) 2002 Thomas Stephens + +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later +version. + +This program 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 General +Public License for more details. + +You should have received a copy of the GNU General Public License along with this program; if not, write to the Free +Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +#include "recorddialog.h" + +RecordDialog::RecordDialog(QWidget *parent=0, const char *name=0):QDialog(parent, name) +{ + QVBoxLayout *layout = new QVBoxLayout(this); + QHBoxLayout *hlayout = new QHBoxLayout(this); + + layout->insertSpacing(0,5); + output = new QTextView("Please enter the name of the new remote, and press Return\n", 0, this, "output"); + layout->insertWidget(-1, output); + layout->insertSpacing(-1, 5); + layout->insertLayout(-1, hlayout); + layout->insertSpacing(-1, 5); + + hlayout->insertSpacing(0, 5); + input = new QLineEdit(this, "input"); + hlayout->insertWidget(-1, input, 1); + hlayout->insertSpacing(-1, 5); + + QPushButton *ret = new QPushButton("Return", this, "return"); + hlayout->insertWidget(-1, ret); + hlayout->insertSpacing(-1, 5); + connect(ret, SIGNAL(clicked()), this, SLOT(retPressed()) ); + where = 0; + + record = new OProcess; +} + +void RecordDialog::retPressed() +{ + printf("RecordDialog::retPressed: ret pressed\n"); + + if(where == 0) + { + connect(record, SIGNAL(receivedStdout(OProcess *, char *, int)), this, SLOT(incoming(OProcess *, char *, int)) ); + connect(record, SIGNAL(receivedStderr(OProcess *, char *, int)), this, SLOT(incoming(OProcess *, char *, int)) ); + connect(record, SIGNAL(processExited(OProcess *)), this, SLOT(done(OProcess *)) ); + printf("RecordDialog::retPressed: starting irrecord\n"); + QString file = "/tmp/" + input->text(); + *record<<"irrecord"<<file.latin1(); + if(!record->start(OProcess::NotifyOnExit, OProcess::AllOutput)) + { + QMessageBox *mb = new QMessageBox("Error!", + "Could not start irrecord. You must<br>use an lirc ipkg that includes<br>irrecord", + QMessageBox::NoIcon, + QMessageBox::Ok, + QMessageBox::NoButton, + QMessageBox::NoButton); + mb->exec(); + return; + } +// record->resume(); + where = 1; + } +} + +void RecordDialog::incoming(OProcess *proc, char *buffer, int len) +{ + output->setText(output->text() + QString(buffer).truncate(len-1)); + printf("RecordDialog::incoming: got text from irrecord\n"); +} + +void RecordDialog::done(OProcess *proc) +{ +} diff --git a/noncore/tools/remote/recorddialog.h b/noncore/tools/remote/recorddialog.h new file mode 100644 index 0000000..38b2bb4 --- a/dev/null +++ b/noncore/tools/remote/recorddialog.h @@ -0,0 +1,43 @@ +/* +Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. +Copyright (C) 2002 Thomas Stephens + +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later +version. + +This program 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 General +Public License for more details. + +You should have received a copy of the GNU General Public License along with this program; if not, write to the Free +Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +#include <qdialog.h> +#include <qtextview.h> +#include <qlineedit.h> +#include <qpushbutton.h> +#include <qwidget.h> +#include <qlayout.h> +#include <qmessagebox.h> + +#include <stdio.h> + +#include <opie/oprocess.h> + +class RecordDialog : public QDialog +{ + Q_OBJECT +public: + RecordDialog(QWidget *parent=0, const char *name=0); +public slots: + void retPressed(); + void incoming(OProcess *proc, char *buffer, int len); + void done(OProcess *proc); +private: + QTextView *output; + QLineEdit *input; + OProcess *record; + int where; +};
\ No newline at end of file diff --git a/noncore/tools/remote/remote.pro b/noncore/tools/remote/remote.pro index 9cd33d2..e5fc3fb 100644 --- a/noncore/tools/remote/remote.pro +++ b/noncore/tools/remote/remote.pro @@ -1,12 +1,12 @@ TEMPLATE =app CONFIG +=qt warn_on release DESTDIR =$(OPIEDIR)/bin -HEADERS = remotetab.h learntab.h configtab.h topgroup.h dvdgroup.h channelgroup.h vcrgroup.h buttondialog.h topgroupconf.h dvdgroupconf.h channelgroupconf.h vcrgroupconf.h mainview.h -SOURCES =remote.cpp remotetab.cpp learntab.cpp configtab.cpp topgroup.cpp dvdgroup.cpp channelgroup.cpp vcrgroup.cpp buttondialog.cpp topgroupconf.cpp dvdgroupconf.cpp channelgroupconf.cpp vcrgroupconf.cpp mainview.cpp +HEADERS = remotetab.h learntab.h configtab.h topgroup.h dvdgroup.h channelgroup.h vcrgroup.h buttondialog.h topgroupconf.h dvdgroupconf.h channelgroupconf.h vcrgroupconf.h mainview.h recorddialog.h helptab.h +SOURCES =remote.cpp remotetab.cpp learntab.cpp configtab.cpp topgroup.cpp dvdgroup.cpp channelgroup.cpp vcrgroup.cpp buttondialog.cpp topgroupconf.cpp dvdgroupconf.cpp channelgroupconf.cpp vcrgroupconf.cpp mainview.cpp recorddialog.cpp helptab.cpp INCLUDEPATH +=$(OPIEDIR)/include DEPENDPATH +=$(OPIEDIR)/include -LIBS +=-lqpe +LIBS +=-lqpe -lopie TARGET = remote TRANSLATIONS = ../../../i18n/de/remote.ts \ ../../../i18n/en/remote.ts \ |