~ubuntu-branches/debian/jessie/sflphone/jessie

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/pjsip-apps/src/pocketpj/PopUpWnd.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-02 18:04:11 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20130602180411-3rcpy8c1zdlo8y0s
Tags: 1.2.2-1
* New upstream release
* changeset_rb68857a4b485b7d43f92714cd5792595ff895f82.diff - fix QTest
* pjproject ./configure --disable-sound --disable-video

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __POPUP_WND_H__
 
2
#define __POPUP_WND_H__
 
3
 
 
4
 
 
5
class CPocketPJDlg;
 
6
 
 
7
/////////////////////////////////////////////////////////////////////////////
 
8
struct CPopUpContent
 
9
{
 
10
    CString m_Title1;
 
11
    CString m_Title2;
 
12
    CString m_Title3;
 
13
    CString m_Btn1;
 
14
    CString m_Btn2;
 
15
};
 
16
 
 
17
 
 
18
/////////////////////////////////////////////////////////////////////////////
 
19
// CPopUpWnd window
 
20
 
 
21
class CPopUpWnd : public CWnd
 
22
{
 
23
public:
 
24
    CPopUpWnd(CPocketPJDlg* pParent);
 
25
    virtual ~CPopUpWnd();
 
26
 
 
27
    void SetContent(const CPopUpContent &content);
 
28
    void Hide();
 
29
    void Show();
 
30
 
 
31
    void SetWindowSize(int nWindowWidth = 200, int nWindowHeight = 180);
 
32
 
 
33
    void PeekAndPump();
 
34
 
 
35
// Implementation
 
36
protected:
 
37
    CPocketPJDlg * m_ParentWnd;
 
38
 
 
39
    CStatic       m_Title1;
 
40
    CStatic       m_Title2;
 
41
    CStatic       m_Title3;
 
42
    CButton       m_Btn1;
 
43
    CButton       m_Btn2;
 
44
 
 
45
    BOOL Create(CPocketPJDlg* pParent);
 
46
 
 
47
// Overrides
 
48
    // ClassWizard generated virtual function overrides
 
49
    //{{AFX_VIRTUAL(CPopUpWnd)
 
50
        public:
 
51
        virtual BOOL DestroyWindow();
 
52
        //}}AFX_VIRTUAL
 
53
 
 
54
// Generated message map functions
 
55
protected:
 
56
    //{{AFX_MSG(CPopUpWnd)
 
57
    afx_msg BOOL OnEraseBkgnd(CDC* pDC);
 
58
        //}}AFX_MSG
 
59
    afx_msg void OnCancel1();
 
60
    afx_msg void OnCancel2();
 
61
    DECLARE_MESSAGE_MAP()
 
62
};
 
63
 
 
64
 
 
65
#endif
 
66
/////////////////////////////////////////////////////////////////////////////