diff --git a/libs/libzrtp/test/win_ce/ReadMe.txt b/libs/libzrtp/test/win_ce/ReadMe.txt deleted file mode 100644 index a219d013c6..0000000000 --- a/libs/libzrtp/test/win_ce/ReadMe.txt +++ /dev/null @@ -1,81 +0,0 @@ -======================================================================== - WIN32 APPLICATION : libzrtp_test_GUI Project Overview -======================================================================== - -AppWizard has created this libzrtp_test_GUI application for you. - -This file contains a summary of what you will find in each of the files that -make up your libzrtp_test_GUI application. - - -libzrtp_test_GUI.vcproj - This is the main project file for VC++ projects generated using an Application Wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - Application Wizard. - -libzrtp_test_GUI.cpp - This is the main application source file. - -///////////////////////////////////////////////////////////////////////////// -AppWizard has created the following resources: - - -libzrtp_test_GUIppc.rc - This is a listing of all of the Microsoft Windows resources that the - program uses when compiling for the Pocket PC 2003 platform, or a platform - that supports the same user interface model. It includes the icons, bitmaps, - and cursors that are stored in the RES subdirectory. This file can be - directly edited in Microsoft Visual C++. When the .rc file is persisted, - the defines in the data section are persisted as the hexadecimal version - of the numeric value they are defined to rather than the friendly name of - the define. - -libzrtp_test_GUIppc.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - -Resourceppc.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -libzrtp_test_GUIsp.rc - This is a listing of all of the Microsoft Windows resources that the - program uses when compiling for the Smartphone 2003 platform, or a - platform that supports the same user interface model. It includes the - icons, bitmaps, and cursors that are stored in the RES subdirectory. - This file can be directly edited in Microsoft Visual C++. When the - .rc file is persisted, the defines in the data section are persisted - as the hexadecimal version of the numeric value they are defined to - rather than the friendly name of the define. - -libzrtp_test_GUIsp.rc2 - This file contains resources that are not edited by Microsoft - Visual C++. You should place all resources not editable by - the resource editor in this file. - -Resourcesp.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - - - -libzrtp_test_GUI.ico - This is an icon file, which is used as the application's icon (32x32). - This icon is included by the main resource file libzrtp_test_GUI.rc. - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named libzrtp_test_GUI.pch and a precompiled types file named StdAfx.obj. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" comments to indicate parts of the source code you -should add to or customize. - -/////////////////////////////////////////////////////////////////////////////s \ No newline at end of file diff --git a/libs/libzrtp/test/win_ce/libzrtp_test_GUI.cpp b/libs/libzrtp/test/win_ce/libzrtp_test_GUI.cpp deleted file mode 100644 index 2e8407e363..0000000000 --- a/libs/libzrtp/test/win_ce/libzrtp_test_GUI.cpp +++ /dev/null @@ -1,492 +0,0 @@ -/* - * libZRTP SDK library, implements the ZRTP secure VoIP protocol. - * Copyright (c) 2006-2009 Philip R. Zimmermann. All rights reserved. - * Contact: http://philzimmermann.com - * For licensing and other legal details, see the file zrtp_legal.c. - * - * Nikolay Popok mailto: - */ - -#include "stdafx.h" -#include "libzrtp_test_GUI.h" -#include -#include - -//#include "resourcesp.h" - -#include - - -extern "C" -{ - #include "zrtp.h" - #include "zrtp_test_core.h" -} - -#define MAX_LOADSTRING 100 - -// Global Variables: -HINSTANCE g_hInst; // current instance -HWND g_hWndMenuBar; // menu bar handle -HWND hWndList; -HWND g_hWnd; - -HFONT font; - -int action_id = 0; - -static void do_action(); -static void print_log_ce(int level, const char *data, int len, int offset); -static DWORD WINAPI destroy_func(void *param); - -static FILE *log_file = NULL; - -typedef struct zrtp_test_command -{ - int32_t code; - int first_conn; - int last_conn; - uint32_t extra, extra2; -} zrtp_test_command_t; - -typedef enum zrtp_test_code -{ - ZRTP_TEST_CREATE = 0, - ZRTP_TEST_DESTROY, - ZRTP_TEST_ZSTART, - ZRTP_TEST_ZSECURE, - ZRTP_TEST_QUIT, - ZRTP_TEST_INC, - ZRTP_TEST_DEC, - ZRTP_TEST_CLEAR, - ZRTP_TEST_SLEEP, - ZRTP_TEST_LOGS, - ZRTP_TEST_INFO, - ZRTP_TEST_HELP, - ZRTP_TEST_CMD_SIZE -} zrtp_test_code_t; - -extern "C" { - void do_quit(); - int zrtp_test_zrtp_init(); - void zrtp_test_crypto(zrtp_global_t* zrtp); - int zrtp_add_system_state(zrtp_global_t* zrtp, MD_CTX *ctx); -} - -// Forward declarations of functions included in this code module: -ATOM MyRegisterClass(HINSTANCE, LPTSTR); -BOOL InitInstance(HINSTANCE, int); -LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); -#ifndef WIN32_PLATFORM_WFSP -INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM); -#endif // !WIN32_PLATFORM_WFSP - -int WINAPI WinMain(HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPTSTR lpCmdLine, - int nCmdShow) -{ - MSG msg; - - // Perform application initialization: - if (!InitInstance(hInstance, nCmdShow)) - { - return FALSE; - } - -#ifndef WIN32_PLATFORM_WFSP - HACCEL hAccelTable; - hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_LIBZRTP_TEST_GUI)); -#endif // !WIN32_PLATFORM_WFSP - - // Main message loop: - while (GetMessage(&msg, NULL, 0, 0)) - { - if ( msg.message == WM_KEYDOWN ) - { - switch ( msg.wParam ) - { - case VK_LEFT: - { - msg.wParam = 0; - break; - } - case VK_RIGHT: - { - msg.wParam = 0; - break; - } - } - } - -#ifndef WIN32_PLATFORM_WFSP - if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) -#endif // !WIN32_PLATFORM_WFSP - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - } - - return (int) msg.wParam; -} - -// -// FUNCTION: MyRegisterClass() -// -// PURPOSE: Registers the window class. -// -// COMMENTS: -// -ATOM MyRegisterClass(HINSTANCE hInstance, LPTSTR szWindowClass) -{ - WNDCLASS wc; - - wc.style = CS_HREDRAW | CS_VREDRAW; - wc.lpfnWndProc = WndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_LIBZRTP_TEST_GUI)); - wc.hCursor = 0; - wc.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = 0; - wc.lpszClassName = szWindowClass; - - return RegisterClass(&wc); -} - -// -// FUNCTION: InitInstance(HINSTANCE, int) -// -// PURPOSE: Saves instance handle and creates main window -// -// COMMENTS: -// -// In this function, we save the instance handle in a global variable and -// create and display the main program window. -// -BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) -{ - HWND hWnd; - TCHAR szTitle[MAX_LOADSTRING]; // title bar text - TCHAR szWindowClass[MAX_LOADSTRING]; // main window class name - - g_hInst = hInstance; // Store instance handle in our global variable - -#if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) - // SHInitExtraControls should be called once during your application's initialization to initialize any - // of the device specific controls such as CAPEDIT and SIPPREF. - SHInitExtraControls(); -#endif // WIN32_PLATFORM_PSPC || WIN32_PLATFORM_WFSP - - LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); - LoadString(hInstance, IDC_LIBZRTP_TEST_GUI, szWindowClass, MAX_LOADSTRING); - -#if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) - //If it is already running, then focus on the window, and exit - hWnd = FindWindow(szWindowClass, szTitle); - if (hWnd) - { - // set focus to foremost child window - // The "| 0x00000001" is used to bring any owned windows to the foreground and - // activate them. - SetForegroundWindow((HWND)((ULONG) hWnd | 0x00000001)); - return 0; - } -#endif // WIN32_PLATFORM_PSPC || WIN32_PLATFORM_WFSP - - if (!MyRegisterClass(hInstance, szWindowClass)) - { - return FALSE; - } - - hWnd = CreateWindow(szWindowClass, szTitle, WS_VISIBLE, - CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL); - - if (!hWnd) - { - return FALSE; - } - - g_hWnd = hWnd; -#ifdef WIN32_PLATFORM_PSPC - // When the main window is created using CW_USEDEFAULT the height of the menubar (if one - // is created is not taken into account). So we resize the window after creating it - // if a menubar is present - if (g_hWndMenuBar) - { - RECT rc; - RECT rcMenuBar; - - GetWindowRect(hWnd, &rc); - GetWindowRect(g_hWndMenuBar, &rcMenuBar); - rc.bottom -= (rcMenuBar.bottom - rcMenuBar.top); - - MoveWindow(hWnd, rc.left, rc.top, rc.right-rc.left, rc.bottom-rc.top, FALSE); - } -#endif // WIN32_PLATFORM_PSPC - - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - - return TRUE; -} - -// -// FUNCTION: WndProc(HWND, UINT, WPARAM, LPARAM) -// -// PURPOSE: Processes messages for the main window. -// -// WM_COMMAND - process the application menu -// WM_PAINT - Paint the main window -// WM_DESTROY - post a quit message and return -// -// -LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) -{ - int wmId, wmEvent; - PAINTSTRUCT ps; - HDC hdc; - -#if defined(SHELL_AYGSHELL) && !defined(WIN32_PLATFORM_WFSP) - static SHACTIVATEINFO s_sai; -#endif // SHELL_AYGSHELL && !WIN32_PLATFORM_WFSP - - switch (message) - { - case WM_COMMAND: - wmId = LOWORD(wParam); - wmEvent = HIWORD(wParam); - // Parse the menu selections: - switch (wmId) - { -#ifndef WIN32_PLATFORM_WFSP - case IDM_HELP_ABOUT: - DialogBox(g_hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, About); - break; -#endif // !WIN32_PLATFORM_WFSP -#ifdef WIN32_PLATFORM_WFSP - case IDM_OK: - do_action(); - - break; -#endif // WIN32_PLATFORM_WFSP -#ifdef WIN32_PLATFORM_PSPC - case IDM_OK: - do_action(); - break; -#endif // WIN32_PLATFORM_PSPC - default: - return DefWindowProc(hWnd, message, wParam, lParam); - } - break; - case WM_CREATE: -#ifdef SHELL_AYGSHELL - SHMENUBARINFO mbi; - - memset(&mbi, 0, sizeof(SHMENUBARINFO)); - mbi.cbSize = sizeof(SHMENUBARINFO); - mbi.hwndParent = hWnd; - mbi.nToolBarId = IDR_MENU; - mbi.hInstRes = g_hInst; - - if (!SHCreateMenuBar(&mbi)) - { - g_hWndMenuBar = NULL; - } - else - { - g_hWndMenuBar = mbi.hwndMB; - } - -#ifndef WIN32_PLATFORM_WFSP - // Initialize the shell activate info structure - memset(&s_sai, 0, sizeof (s_sai)); - s_sai.cbSize = sizeof (s_sai); -#endif // !WIN32_PLATFORM_WFSP -#endif // SHELL_AYGSHELL - -#ifdef WIN32_PLATFORM_WFSP - hWndList = CreateWindow(TEXT("listbox"),NULL, WS_CHILD| - WS_VISIBLE|WS_HSCROLL|WS_VSCROLL|WS_TABSTOP, 0,0, 300, 200, hWnd, - (HMENU)"", g_hInst, NULL); -#else - hWndList = CreateWindow(TEXT("listbox"),NULL, WS_CHILD| - WS_VISIBLE|WS_HSCROLL|WS_VSCROLL|WS_TABSTOP, 0,0, 250, 200, hWnd, - (HMENU)"", g_hInst, NULL); -#endif // !WIN32_PLATFORM_WFSP - - font = CreateFont(10, // height of font - 0, // average character width - 0, // angle of escapement - 0, // base-line orientation angle - 400, // font weight - 0, // italic attribute option - FALSE, // underline attribute option - FALSE, // strikeout attribute option - ANSI_CHARSET, // character set identifier - OUT_DEFAULT_PRECIS, // output precision - CLIP_DEFAULT_PRECIS, // clipping precision - ANTIALIASED_QUALITY, // output quality - FF_DONTCARE, // pitch and family - TEXT("Times New Roman")); - - SendMessage(hWndList, WM_SETFONT, (WPARAM)font, (LPARAM)TRUE); - - SetFocus(hWndList); - break; - case WM_PAINT: - hdc = BeginPaint(hWnd, &ps); - - EndPaint(hWnd, &ps); - break; - case WM_DESTROY: -#ifdef SHELL_AYGSHELL - CommandBar_Destroy(g_hWndMenuBar); -#endif // SHELL_AYGSHELL - PostQuitMessage(0); - break; - -#if defined(SHELL_AYGSHELL) && !defined(WIN32_PLATFORM_WFSP) - case WM_ACTIVATE: - // Notify shell of our activate message - SHHandleWMActivate(hWnd, wParam, lParam, &s_sai, FALSE); - break; - case WM_SETTINGCHANGE: - SHHandleWMSettingChange(hWnd, wParam, lParam, &s_sai); - break; -#endif // SHELL_AYGSHELL && !WIN32_PLATFORM_WFSP - - default: - return DefWindowProc(hWnd, message, wParam, lParam); - } - return 0; -} - -HWND hwndAbout = NULL; - -#ifndef WIN32_PLATFORM_WFSP -// Message handler for about box. -INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) -{ - switch (message) - { - case WM_INITDIALOG: -#ifdef SHELL_AYGSHELL - { - // Create a Done button and size it. - SHINITDLGINFO shidi; - shidi.dwMask = SHIDIM_FLAGS; - shidi.dwFlags = SHIDIF_DONEBUTTON | SHIDIF_SIPDOWN | SHIDIF_SIZEDLGFULLSCREEN | SHIDIF_EMPTYMENU; - shidi.hDlg = hDlg; - SHInitDialog(&shidi); - } -#endif // SHELL_AYGSHELL - - return (INT_PTR)TRUE; - - case WM_COMMAND: -#ifdef SHELL_AYGSHELL - if (LOWORD(wParam) == IDOK) -#endif - { - return (INT_PTR)TRUE; - } - break; - - case WM_CLOSE: - EndDialog(hDlg, message); - return (INT_PTR)TRUE; - -#ifdef _DEVICE_RESOLUTION_AWARE - case WM_SIZE: - { - DRA::RelayoutDialog( - g_hInst, - hDlg, - DRA::GetDisplayMode() != DRA::Portrait ? MAKEINTRESOURCE(IDD_ABOUTBOX_WIDE) : MAKEINTRESOURCE(IDD_ABOUTBOX)); - } - break; -#endif - } - return (INT_PTR)FALSE; -} -#endif // !WIN32_PLATFORM_WFSP - -static void do_action() -{ - switch (action_id) - { - case 0: - { - int status; - - zrtp_log_set_log_engine((zrtp_log_engine*)print_log_ce); - status = zrtp_test_zrtp_init(); - if (0 != status) { - return; - } - - zrtp_test_crypto(zrtp_global); - - { - zrtp_test_channel_id_t id; - zrtp_test_channel_config_t sconfig; - - sconfig.is_autosecure = 0; - sconfig.is_preshared = 0; - sconfig.streams_count = 1; - - status = zrtp_test_channel_create(&sconfig, &id); - - if (0 == status) { - zrtp_test_channel_start(id); - } - } - break; - } - case 1: - { - zrtp_thread_create(destroy_func, NULL); - break; - } - case 2: - { - DeleteObject(font); - if (log_file) fclose(log_file); -#ifdef WIN32_PLATFORM_WFSP - DestroyWindow(g_hWnd); -#endif -#ifdef WIN32_PLATFORM_PSPC - SendMessage(g_hWnd, WM_CLOSE, 0, 0); -#endif // WIN32_PLATFORM_PSPC - break; - } - } - - action_id++; -} - -static DWORD WINAPI destroy_func(void *param) -{ - do_quit(); - return 0; -} - -static void print_log_ce(int level, const char *data, int len, int offset) -{ - if ( !log_file ) - log_file = fopen("zrtp_test.log", "a"); - - fprintf(log_file, "%s", data); - - if (level < 3 || 1) - { - CString strUnicode = data; - SendMessage(hWndList, LB_ADDSTRING, 0, (LPARAM)strUnicode.GetBuffer(100)); - SendMessage(hWndList, WM_VSCROLL, SB_BOTTOM, 0L); - } - -} - diff --git a/libs/libzrtp/test/win_ce/libzrtp_test_GUI.h b/libs/libzrtp/test/win_ce/libzrtp_test_GUI.h deleted file mode 100644 index 6219d3f68d..0000000000 --- a/libs/libzrtp/test/win_ce/libzrtp_test_GUI.h +++ /dev/null @@ -1,16 +0,0 @@ -/* - * libZRTP SDK library, implements the ZRTP secure VoIP protocol. - * Copyright (c) 2006-2009 Philip R. Zimmermann. All rights reserved. - * Contact: http://philzimmermann.com - * For licensing and other legal details, see the file zrtp_legal.c. - * - * Nikolay Popok mailto: - */ - -#pragma once -#ifdef POCKETPC2003_UI_MODEL -#include "resourceppc.h" -#endif -#ifdef SMARTPHONE2003_UI_MODEL -#include "resourcesp.h" -#endif diff --git a/libs/libzrtp/test/win_ce/libzrtp_test_GUI.ico b/libs/libzrtp/test/win_ce/libzrtp_test_GUI.ico deleted file mode 100644 index d551aa3aaf..0000000000 Binary files a/libs/libzrtp/test/win_ce/libzrtp_test_GUI.ico and /dev/null differ diff --git a/libs/libzrtp/test/win_ce/libzrtp_test_GUIppc.rc b/libs/libzrtp/test/win_ce/libzrtp_test_GUIppc.rc deleted file mode 100644 index 22949d5460..0000000000 --- a/libs/libzrtp/test/win_ce/libzrtp_test_GUIppc.rc +++ /dev/null @@ -1,183 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resourceppc.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "resdefce.h" -#undef APSTUDIO_HIDDEN_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Russian resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) -#ifdef _WIN32 -LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT -#pragma code_page(1251) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_LIBZRTP_TEST_GUI ICON "libzrtp_test_GUI.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -IDR_MENU MENU -BEGIN - POPUP "Help" - BEGIN - MENUITEM "About", IDM_HELP_ABOUT - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Accelerator -// - -IDC_LIBZRTP_TEST_GUI ACCELERATORS -BEGIN - "A", IDM_HELP_ABOUT, VIRTKEY, CONTROL, NOINVERT - "Q", IDM_OK, VIRTKEY, CONTROL, NOINVERT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_ABOUTBOX DIALOG 0, 0, 164, 172 -STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -EXSTYLE 0x80000000L -CAPTION "About libzrtp_test_GUI" -FONT 8, "MS Shell Dlg" -BEGIN - LISTBOX IDC_LIST1,7,7,150,158,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP -END - -IDD_ABOUTBOX_WIDE DIALOG 0, 0, 210, 129 -STYLE DS_SETFONT | WS_POPUP | WS_CAPTION -EXSTYLE 0x80000000L -CAPTION "About libzrtp_test_GUI" -FONT 8, "MS Shell Dlg" -BEGIN - ICON IDI_LIBZRTP_TEST_GUI,IDC_STATIC_1,12,12,21,20,SS_REALSIZEIMAGE - LTEXT "libzrtp_test_GUI Version 1.0",IDC_STATIC_2,48,12,66,8,SS_NOPREFIX - LTEXT "Copyright (C) 2008",IDC_STATIC_3,48,24,66,8 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 157 - TOPMARGIN, 7 - BOTTOMMARGIN, 165 - END - - IDD_ABOUTBOX_WIDE, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 203 - TOPMARGIN, 7 - BOTTOMMARGIN, 122 - END -END -#endif // APSTUDIO_INVOKED - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resourceppc.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""resdefce.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)\r\n" - "LANGUAGE 25, 1\r\n" - "#pragma code_page(1251)\r\n" - "#include ""libzrtp_test_GUIppc.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_APP_TITLE "libzrtp_test_GUI" - IDC_LIBZRTP_TEST_GUI "LIBZRTP_TEST_GUI" -END - -STRINGTABLE -BEGIN - IDS_OK "OK" - IDS_HELP "HELP" -END - -#endif // Russian resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) -LANGUAGE 25, 1 -#pragma code_page(1251) -#include "libzrtp_test_GUIppc.rc2" // non-Microsoft Visual C++ edited resources -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/libs/libzrtp/test/win_ce/libzrtp_test_GUIppc.rc2 b/libs/libzrtp/test/win_ce/libzrtp_test_GUIppc.rc2 deleted file mode 100644 index 46fdcbd8cd..0000000000 --- a/libs/libzrtp/test/win_ce/libzrtp_test_GUIppc.rc2 +++ /dev/null @@ -1,35 +0,0 @@ -// -// libzrtp_test_GUIPPC.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// -HI_RES_AWARE CEUX {1} // turn off the emulation layer - // Remove this resource to enable pixel- - // doubling on platforms that support it -///////////////////////////////////////////////////////////////////////////// - -///////////////////////////////////////////////////////////////////////////// -// -// SHMENUBAR -// - -IDR_MENU SHMENUBAR DISCARDABLE -BEGIN - IDR_MENU, - 2, - - I_IMAGENONE, IDM_OK, TBSTATE_ENABLED, TBSTYLE_BUTTON | TBSTYLE_AUTOSIZE, - IDS_OK, 0, NOMENU, - - I_IMAGENONE, IDM_HELP, TBSTATE_ENABLED, TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, - IDS_HELP, 0, 0, -END - diff --git a/libs/libzrtp/test/win_ce/libzrtp_test_GUIsp.rc b/libs/libzrtp/test/win_ce/libzrtp_test_GUIsp.rc deleted file mode 100644 index fe9accc236..0000000000 --- a/libs/libzrtp/test/win_ce/libzrtp_test_GUIsp.rc +++ /dev/null @@ -1,95 +0,0 @@ -//Microsoft Visual C++ generated resource script. -// -#include "resourcesp.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define APSTUDIO_HIDDEN_SYMBOLS -#include "resdefce.h" -#undef APSTUDIO_HIDDEN_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) -LANGUAGE 25, 1 -#pragma code_page(1251) - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. - -IDI_LIBZRTP_TEST_GUI ICON "libzrtp_test_GUI.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// -1 TEXTINCLUDE -BEGIN - "resourcesp.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" - "#include ""resdefce.h""\r\n" - "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)\r\n" - "LANGUAGE 25, 1\r\n" - "#pragma code_page(1251)\r\n" - "#include ""libzrtp_test_GUIsp.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// -STRINGTABLE -BEGIN - IDC_LIBZRTP_TEST_GUI "LIBZRTP_TEST_GUI" - IDS_APP_TITLE "libzrtp_test_GUI" - IDS_OK "Ok" -END - -#endif -///////////////////////////////////////////////////////////////////////////// - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) -LANGUAGE 25, 1 -#pragma code_page(1251) -#include "libzrtp_test_GUIsp.rc2" // non-Microsoft Visual C++ edited resources -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED diff --git a/libs/libzrtp/test/win_ce/libzrtp_test_GUIsp.rc2 b/libs/libzrtp/test/win_ce/libzrtp_test_GUIsp.rc2 deleted file mode 100644 index 02cb791170..0000000000 --- a/libs/libzrtp/test/win_ce/libzrtp_test_GUIsp.rc2 +++ /dev/null @@ -1,31 +0,0 @@ -// -// libzrtp_test_GUISP.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// -HI_RES_AWARE CEUX {1} // turn off the emulation layer - // Remove this resource to enable pixel- - // doubling on platforms that support it -///////////////////////////////////////////////////////////////////////////// - -///////////////////////////////////////////////////////////////////////////// -// -// Data -// - -IDR_MENU SHMENUBAR DISCARDABLE -BEGIN - IDR_MENU, - 1, - - I_IMAGENONE, IDM_OK, TBSTATE_ENABLED, TBSTYLE_BUTTON | TBSTYLE_AUTOSIZE, - IDS_OK, 0, NOMENU, -END diff --git a/libs/libzrtp/test/win_ce/resourceppc.h b/libs/libzrtp/test/win_ce/resourceppc.h deleted file mode 100644 index bedd3e78c6..0000000000 --- a/libs/libzrtp/test/win_ce/resourceppc.h +++ /dev/null @@ -1,36 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by libzrtp_test_GUIppc.rc -// -#define IDS_APP_TITLE 1 -#define IDC_LIBZRTP_TEST_GUI 2 -#define IDI_LIBZRTP_TEST_GUI 101 -#define IDR_MENU 102 -#define IDS_OK 103 -#define IDS_HELP 104 -#define IDD_ABOUTBOX 105 -#define IDD_ABOUTBOX_WIDE 106 -#define IDC_STATIC_1 201 -#define IDC_STATIC_2 202 -#define IDC_STATIC_3 203 -#define IDC_LIST1 1000 -#define ID_CMD_INCREASERATE 32771 -#define ID_CMD_DESCREASERATE 32772 -#define ID_ACCELERATOR32773 32773 -#define IDM_ZRTP_LEFT 32773 -#define IDM_OK 40000 -#define IDM_HELP 40001 -#define IDM_HELP_ABOUT 40002 -#define IDC_STATIC -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NO_MFC 1 -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32775 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 110 -#endif -#endif diff --git a/libs/libzrtp/test/win_ce/resourcesp.h b/libs/libzrtp/test/win_ce/resourcesp.h deleted file mode 100644 index b192b75478..0000000000 --- a/libs/libzrtp/test/win_ce/resourcesp.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by libzrtp_test_GUIsp.rc -// - -#define IDS_APP_TITLE 1 -#define IDC_LIBZRTP_TEST_GUI 2 -#define IDI_LIBZRTP_TEST_GUI 101 -#define IDR_MENU 102 -#define IDS_OK 104 -#define IDM_OK 40001 -#ifndef IDC_STATIC -#define IDC_STATIC -1 -#define ID_CMD_INCREASERATE 32771 -#define ID_CMD_DESCREASERATE 32772 -#endif - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NO_MFC 130 -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 110 -#endif -#endif diff --git a/libs/libzrtp/test/win_ce/stdafx.cpp b/libs/libzrtp/test/win_ce/stdafx.cpp deleted file mode 100644 index 2d11b3f451..0000000000 --- a/libs/libzrtp/test/win_ce/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* - * libZRTP SDK library, implements the ZRTP secure VoIP protocol. - * Copyright (c) 2006-2009 Philip R. Zimmermann. All rights reserved. - * Contact: http://philzimmermann.com - * For licensing and other legal details, see the file zrtp_legal.c. - * - * Nikolay Popok mailto: - */ - - -// stdafx.cpp : source file that includes just the standard includes -// libzrtp_test_GUI.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file diff --git a/libs/libzrtp/test/win_ce/stdafx.h b/libs/libzrtp/test/win_ce/stdafx.h deleted file mode 100644 index e1c44d13fb..0000000000 --- a/libs/libzrtp/test/win_ce/stdafx.h +++ /dev/null @@ -1,61 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#pragma once - -#pragma comment(linker, "/nodefaultlib:libc.lib") -#pragma comment(linker, "/nodefaultlib:libcd.lib") - -// NOTE - this value is not strongly correlated to the Windows CE OS version being targeted -#define WINVER _WIN32_WCE - -#include -#if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) -#define SHELL_AYGSHELL -#endif - -#ifdef _CE_DCOM -#define _ATL_APARTMENT_THREADED -#endif - -#ifdef SHELL_AYGSHELL -#include -#pragma comment(lib, "aygshell.lib") -#endif // SHELL_AYGSHELL - - -// Windows Header Files: -#include - -// C RunTime Header Files -#include -#include -#include -#include - -#if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) -#ifndef _DEVICE_RESOLUTION_AWARE -#define _DEVICE_RESOLUTION_AWARE -#endif -#endif - -#ifdef _DEVICE_RESOLUTION_AWARE -#include "DeviceResolutionAware.h" -#endif - -#if _WIN32_WCE < 0x500 && ( defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) ) - #pragma comment(lib, "ccrtrtti.lib") - #ifdef _X86_ - #if defined(_DEBUG) - #pragma comment(lib, "libcmtx86d.lib") - #else - #pragma comment(lib, "libcmtx86.lib") - #endif - #endif -#endif - -#include - -// TODO: reference additional headers your program requires here