~ubuntu-branches/ubuntu/trusty/sflphone/trusty

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/pjsip-apps/src/pocketpj/PocketPJ.cpp

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (4.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140128182336-jrsv0k9u6cawc068
Tags: 1.3.0-1
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// PocketPJ.cpp : Defines the class behaviors for the application.
 
2
//
 
3
 
 
4
#include "stdafx.h"
 
5
#include "PocketPJ.h"
 
6
#include "PocketPJDlg.h"
 
7
 
 
8
#ifdef _DEBUG
 
9
#define new DEBUG_NEW
 
10
#undef THIS_FILE
 
11
static char THIS_FILE[] = __FILE__;
 
12
#endif
 
13
 
 
14
/////////////////////////////////////////////////////////////////////////////
 
15
// CPocketPJApp
 
16
 
 
17
BEGIN_MESSAGE_MAP(CPocketPJApp, CWinApp)
 
18
        //{{AFX_MSG_MAP(CPocketPJApp)
 
19
                // NOTE - the ClassWizard will add and remove mapping macros here.
 
20
                //    DO NOT EDIT what you see in these blocks of generated code!
 
21
        //}}AFX_MSG_MAP
 
22
END_MESSAGE_MAP()
 
23
 
 
24
/////////////////////////////////////////////////////////////////////////////
 
25
// CPocketPJApp construction
 
26
 
 
27
CPocketPJApp::CPocketPJApp()
 
28
        : CWinApp()
 
29
{
 
30
        // TODO: add construction code here,
 
31
        // Place all significant initialization in InitInstance
 
32
}
 
33
 
 
34
/////////////////////////////////////////////////////////////////////////////
 
35
// The one and only CPocketPJApp object
 
36
 
 
37
CPocketPJApp theApp;
 
38
 
 
39
/////////////////////////////////////////////////////////////////////////////
 
40
// CPocketPJApp initialization
 
41
 
 
42
BOOL CPocketPJApp::InitInstance()
 
43
{
 
44
        // Standard initialization
 
45
        // If you are not using these features and wish to reduce the size
 
46
        //  of your final executable, you should remove from the following
 
47
        //  the specific initialization routines you do not need.
 
48
 
 
49
        CPocketPJDlg dlg;
 
50
        m_pMainWnd = &dlg;
 
51
        int nResponse = dlg.DoModal();
 
52
        if (nResponse == IDOK)
 
53
        {
 
54
                // TODO: Place code here to handle when the dialog is
 
55
                //  dismissed with OK
 
56
        }
 
57
        else if (nResponse == IDCANCEL)
 
58
        {
 
59
                // TODO: Place code here to handle when the dialog is
 
60
                //  dismissed with Cancel
 
61
        }
 
62
 
 
63
        // Since the dialog has been closed, return FALSE so that we exit the
 
64
        //  application, rather than start the application's message pump.
 
65
        return FALSE;
 
66
}