Permalink
Browse files

Initial commit.

  • Loading branch information...
0 parents commit 964fe20d4d810740dde9bb745e8847f858bd668d @danleeb danleeb committed Jan 9, 2012
Showing with 12,652 additions and 0 deletions.
  1. +20 −0 .gitignore
  2. +685 −0 LICENSE.GPL
  3. +5 −0 README.md
  4. +158 −0 build/greenj.pro
  5. +823 −0 build/greenj.vcproj
  6. +11 −0 build/greenj.vsprops
  7. +46 −0 build/phone/css/common.css
  8. +585 −0 build/phone/css/jquery-ui-1.8.14.custom.css
  9. +114 −0 build/phone/css/testphone.css
  10. BIN build/phone/images/ajax-loader.gif
  11. BIN build/phone/images/cross.png
  12. BIN build/phone/images/flip.png
  13. BIN build/phone/images/incoming.png
  14. BIN build/phone/images/outgoing.png
  15. BIN build/phone/images/phone.png
  16. BIN build/phone/images/ui-bg_flat_0_aaaaaa_40x100.png
  17. BIN build/phone/images/ui-bg_flat_75_ffffff_40x100.png
  18. BIN build/phone/images/ui-bg_glass_55_fbf9ee_1x400.png
  19. BIN build/phone/images/ui-bg_glass_65_ffffff_1x400.png
  20. BIN build/phone/images/ui-bg_glass_75_dadada_1x400.png
  21. BIN build/phone/images/ui-bg_glass_75_e6e6e6_1x400.png
  22. BIN build/phone/images/ui-bg_glass_95_fef1ec_1x400.png
  23. BIN build/phone/images/ui-bg_glass_green_active.png
  24. BIN build/phone/images/ui-bg_glass_green_hover.png
  25. BIN build/phone/images/ui-bg_glass_green_normal.png
  26. BIN build/phone/images/ui-bg_glass_orange_active.png
  27. BIN build/phone/images/ui-bg_glass_orange_hover.png
  28. BIN build/phone/images/ui-bg_glass_orange_normal.png
  29. BIN build/phone/images/ui-bg_glass_red_active.png
  30. BIN build/phone/images/ui-bg_glass_red_hover.png
  31. BIN build/phone/images/ui-bg_glass_red_normal.png
  32. BIN build/phone/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  33. BIN build/phone/images/ui-icons_222222_256x240.png
  34. BIN build/phone/images/ui-icons_2e83ff_256x240.png
  35. BIN build/phone/images/ui-icons_454545_256x240.png
  36. BIN build/phone/images/ui-icons_888888_256x240.png
  37. BIN build/phone/images/ui-icons_cd0a0a_256x240.png
  38. +69 −0 build/phone/index.html
  39. +412 −0 build/phone/js/jquery-ui.min.js
  40. +499 −0 build/phone/js/jquery.blockUI.js
  41. +18 −0 build/phone/js/jquery.min.js
  42. +10 −0 build/phone/js/jquery.quickflip.min.js
  43. +534 −0 build/phone/js/lilib.js
  44. +1,102 −0 build/phone/js/phone-lib.js
  45. +327 −0 build/phone/js/qt-dummy.js
  46. +349 −0 build/phone/js/testphone.js
  47. +1,678 −0 doc/doxygen.conf
  48. +20 −0 greenj.sln
  49. +1 −0 res/greenj.rc
  50. +5 −0 res/gui.qrc
  51. BIN res/images/icon.ico
  52. +125 −0 res/images/icon.xpm
  53. +65 −0 src/account.cpp
  54. +69 −0 src/account.h
  55. +355 −0 src/call.cpp
  56. +324 −0 src/call.h
  57. +346 −0 src/config_file_handler.cpp
  58. +241 −0 src/config_file_handler.h
  59. +111 −0 src/docu.h
  60. +198 −0 src/gui.cpp
  61. +108 −0 src/gui.h
  62. +76 −0 src/gui.ui
  63. +116 −0 src/gui_window_handler.cpp
  64. +46 −0 src/gui_window_handler.h
  65. +381 −0 src/javascript_handler.cpp
  66. +277 −0 src/javascript_handler.h
  67. +141 −0 src/log_handler.cpp
  68. +86 −0 src/log_handler.h
  69. +33 −0 src/log_info.cpp
  70. +108 −0 src/log_info.h
  71. +28 −0 src/main.cpp
  72. +411 −0 src/phone.cpp
  73. +233 −0 src/phone.h
  74. +195 −0 src/phone_api.h
  75. +55 −0 src/print_handler.cpp
  76. +59 −0 src/print_handler.h
  77. +584 −0 src/sip_phone.cpp
  78. +211 −0 src/sip_phone.h
  79. +74 −0 src/sound.cpp
  80. +70 −0 src/sound.h
  81. +55 −0 src/web_page.h
@@ -0,0 +1,20 @@
+GeneratedFiles
+*.o
+*.log
+/bin/win32/Debug/greenj.exe
+/bin/win32/Debug/greenj.ilk
+/bin/win32/Debug/greenj.pdb
+/bin/win32/Release/greenj.exe
+/greenj.ncb
+/greenj.suo
+/build/win32
+/build/linux
+/build/mac
+desktop.ini
+build/greenj.vcproj.*
+doc/greenj/
+doc/jsdoc/
+lib/linux/*
+lib/win32/*
+lib/mac/*
+build/Makefile
Oops, something went wrong.
@@ -0,0 +1,5 @@
+ubuntu-11.10-desktop-i386:
+
+sudo apt-get install libqt4-core
+sudo apt-get install libqt4-dev
+
@@ -0,0 +1,158 @@
+# ----------------
+# Qt Project file
+# ----------------
+
+TEMPLATE = app
+TARGET = GreenJ
+QT += core gui webkit network phonon
+win32 {
+ DESTDIR = ../bin/win32
+ LIBDIR = ../lib/win32
+ BUILDDIR = ../build/win32
+ QT += qtmain
+ PJSIP_DIR = ../lib/win32/pjsip
+ PJSIP_TARGET = i386-Win32-vc8-Release
+}
+unix {
+ DESTDIR = ../bin/linux
+ LIBDIR = ../lib/linux
+ BUILDDIR = ../build/linux
+ PJSIP_DIR = ../lib/linux/pjsip
+ PJSIP_TARGET = i686-pc-linux-gnu
+}
+mac {
+ DESTDIR = ../bin/mac
+ LIBDIR = ../lib/mac
+ BUILDDIR = ../build/mac
+ PJSIP_DIR = ../lib/mac
+ PJSIP_TARGET = i686-pc-mac
+}
+SOURCEDIR = ../src
+RESOURCEDIR = ../res
+
+CONFIG += debug
+CONFIG += ordered
+
+#DEFINES += QT_LARGEFILE_SUPPORT
+DEFINES += DEBUG
+
+INCLUDEPATH += $$SOURCEDIR/GeneratedFiles \
+ $$SOURCEDIR/GeneratedFiles/Debug \
+ $$SOURCEDIR \
+ $$PJSIP_DIR \
+ $$PJSIP_DIR/pjmedia/include \
+ $$PJSIP_DIR/pjsip/include \
+ $$PJSIP_DIR/pjnath/include \
+ $$PJSIP_DIR/pjmedia/include/pjmedia-codec \
+ $$PJSIP_DIR/pjmedia/include/pjmedia-audiodev \
+ $$PJSIP_DIR/pjmedia/include/pjmedia \
+ $$PJSIP_DIR/pjlib-util/include \
+ $$PJSIP_DIR/pjlib/include
+unix: INCLUDEPATH += /usr/include/
+
+LIBS += -L/usr/lib/ \
+ -L$$LIBDIR/ \
+ -L$$PJSIP_DIR/third_party/lib \
+ -L$$PJSIP_DIR/pjsip/lib \
+ -L$$PJSIP_DIR/pjnath/lib \
+ -L$$PJSIP_DIR/pjmedia/lib \
+ -L$$PJSIP_DIR/pjlib-util/lib \
+ -L$$PJSIP_DIR/pjlib/lib \
+
+unix: LIBS += -L/usr/lib/ \
+ -lpjsua-$$PJSIP_TARGET \
+ -lpjsip-ua-$$PJSIP_TARGET \
+ -lpjsip-simple-$$PJSIP_TARGET \
+ -lpjsip-$$PJSIP_TARGET \
+ -lpjmedia-codec-$$PJSIP_TARGET \
+ -lpjmedia-$$PJSIP_TARGET \
+ -lpjmedia-audiodev-$$PJSIP_TARGET \
+ -lpjnath-$$PJSIP_TARGET \
+ -lpjlib-util-$$PJSIP_TARGET \
+ -lresample-$$PJSIP_TARGET \
+ -lmilenage-$$PJSIP_TARGET \
+ -lsrtp-$$PJSIP_TARGET \
+ -lgsmcodec-$$PJSIP_TARGET \
+ -lspeex-$$PJSIP_TARGET \
+ -lilbccodec-$$PJSIP_TARGET \
+ -lg7221codec-$$PJSIP_TARGET \
+ -lportaudio-$$PJSIP_TARGET \
+ -lpj-$$PJSIP_TARGET \
+ -lm \
+ -lnsl \
+ -lrt \
+ -lpthread \
+ -lasound
+ #-luuid \
+ #-lcrypto \
+ #-lssl
+
+win32: LIBS += -lIphlpapi \
+ -ldsound \
+ -ldxguid \
+ -lnetapi32 \
+ -lmswsock \
+ -lws2_32 \
+ -lodbc32 \
+ -lodbccp32 \
+ -lole32 \
+ -luser32 \
+ -lgdi32 \
+ -ladvapi32 \
+ -lpjlib-$$PJSIP_TARGET \
+ -lpjlib-util-$$PJSIP_TARGET \
+ -lpjmedia-$$PJSIP_TARGET \
+ -lpjmedia-codec-$$PJSIP_TARGET \
+ -lpjmedia-audiodev-$$PJSIP_TARGET \
+ -lpjnath-$$PJSIP_TARGET \
+ -lpjsua-lib-$$PJSIP_TARGET \
+ -lpjsip-ua-$$PJSIP_TARGET \
+ -lpjsip-simple-$$PJSIP_TARGET \
+ -lpjsip-core-$$PJSIP_TARGET \
+ -llibilbccodec-$$PJSIP_TARGET \
+ -llibgsmcodec-$$PJSIP_TARGET \
+ -llibg7221codec-$$PJSIP_TARGET \
+ -llibmilenage-$$PJSIP_TARGET \
+ -llibportaudio-$$PJSIP_TARGET \
+ -llibresample-$$PJSIP_TARGET \
+ -llibspeex-$$PJSIP_TARGET \
+ -llibsrtp-$$PJSIP_TARGET
+
+DEPENDPATH += $$SOURCEDIR
+MOC_DIR += $$SOURCEDIR/GeneratedFiles/debug
+OBJECTS_DIR += $$BUILDDIR
+UI_DIR += $$SOURCEDIR/GeneratedFiles
+RCC_DIR += $$SOURCEDIR/GeneratedFiles
+
+HEADERS += $$SOURCEDIR/gui.h \
+ $$SOURCEDIR/call.h \
+ $$SOURCEDIR/gui_window_handler.h \
+ $$SOURCEDIR/phone_api.h \
+ $$SOURCEDIR/phone.h \
+ $$SOURCEDIR/sound.h \
+ $$SOURCEDIR/account.h \
+ $$SOURCEDIR/sip_phone.h \
+ $$SOURCEDIR/config_file_handler.h \
+ $$SOURCEDIR/javascript_handler.h \
+ $$SOURCEDIR/print_handler.h \
+ $$SOURCEDIR/log_handler.h \
+ $$SOURCEDIR/log_info.h \
+ $$SOURCEDIR/web_page.h
+SOURCES += $$SOURCEDIR/main.cpp \
+ $$SOURCEDIR/call.cpp \
+ $$SOURCEDIR/gui.cpp \
+ $$SOURCEDIR/gui_window_handler.cpp \
+ $$SOURCEDIR/phone.cpp \
+ $$SOURCEDIR/sound.cpp \
+ $$SOURCEDIR/account.cpp \
+ $$SOURCEDIR/sip_phone.cpp \
+ $$SOURCEDIR/config_file_handler.cpp \
+ $$SOURCEDIR/javascript_handler.cpp \
+ $$SOURCEDIR/print_handler.cpp \
+ $$SOURCEDIR/log_handler.cpp \
+ $$SOURCEDIR/log_info.cpp
+FORMS += $$SOURCEDIR/gui.ui
+RESOURCES += $$RESOURCEDIR/gui.qrc
+
+win32:RC_FILE = $$RESOURCEDIR/greenj.rc
+mac:ICON = $$RESOURCEDIR/images/greenj.icns
Oops, something went wrong.

0 comments on commit 964fe20

Please sign in to comment.