~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* 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
/* $Id: symbian_ua_guiContainer.h 3550 2011-05-05 05:33:27Z nanang $ */
 
2
/* 
 
3
 * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License as published by
 
7
 * the Free Software Foundation; either version 2 of the License, or
 
8
 * (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program; if not, write to the Free Software
 
17
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
 
18
 */
 
19
#ifndef SYMBIAN_UA_GUICONTAINER_H
 
20
#define SYMBIAN_UA_GUICONTAINER_H
 
21
 
 
22
// [[[ begin generated region: do not modify [Generated Includes]
 
23
#include <coecntrl.h>           
 
24
// ]]] end generated region [Generated Includes]
 
25
 
 
26
 
 
27
// [[[ begin [Event Handler Includes]
 
28
// ]]] end [Event Handler Includes]
 
29
 
 
30
// [[[ begin generated region: do not modify [Generated Forward Declarations]
 
31
class MEikCommandObserver;              
 
32
class CEikLabel;
 
33
class CEikEdwin;
 
34
// ]]] end generated region [Generated Forward Declarations]
 
35
 
 
36
/**
 
37
 * Container class for symbian_ua_guiContainer
 
38
 * 
 
39
 * @class       CSymbian_ua_guiContainer symbian_ua_guiContainer.h
 
40
 */
 
41
class CSymbian_ua_guiContainer : public CCoeControl
 
42
        {
 
43
public:
 
44
        // constructors and destructor
 
45
        CSymbian_ua_guiContainer();
 
46
        static CSymbian_ua_guiContainer* NewL( 
 
47
                const TRect& aRect, 
 
48
                const CCoeControl* aParent, 
 
49
                MEikCommandObserver* aCommandObserver );
 
50
        static CSymbian_ua_guiContainer* NewLC( 
 
51
                const TRect& aRect, 
 
52
                const CCoeControl* aParent, 
 
53
                MEikCommandObserver* aCommandObserver );
 
54
        void ConstructL( 
 
55
                const TRect& aRect, 
 
56
                const CCoeControl* aParent, 
 
57
                MEikCommandObserver* aCommandObserver );
 
58
        virtual ~CSymbian_ua_guiContainer();
 
59
 
 
60
public:
 
61
        // from base class CCoeControl
 
62
        TInt CountComponentControls() const;
 
63
        CCoeControl* ComponentControl( TInt aIndex ) const;
 
64
        TKeyResponse OfferKeyEventL( 
 
65
                        const TKeyEvent& aKeyEvent, 
 
66
                        TEventCode aType );
 
67
        void HandleResourceChange( TInt aType );
 
68
        
 
69
protected:
 
70
        // from base class CCoeControl
 
71
        void SizeChanged();
 
72
 
 
73
private:
 
74
        // from base class CCoeControl
 
75
        void Draw( const TRect& aRect ) const;
 
76
 
 
77
private:
 
78
        void InitializeControlsL();
 
79
        void LayoutControls();
 
80
        CCoeControl* iFocusControl;
 
81
        MEikCommandObserver* iCommandObserver;
 
82
        // [[[ begin generated region: do not modify [Generated Methods]
 
83
public: 
 
84
        // ]]] end generated region [Generated Methods]
 
85
        
 
86
        // [[[ begin generated region: do not modify [Generated Type Declarations]
 
87
public: 
 
88
        // ]]] end generated region [Generated Type Declarations]
 
89
        
 
90
        // [[[ begin generated region: do not modify [Generated Instance Variables]
 
91
private: 
 
92
        CEikLabel* iLabel1;
 
93
        CEikEdwin* iEd_url;
 
94
        CEikEdwin* iEd_info;
 
95
        // ]]] end generated region [Generated Instance Variables]
 
96
        
 
97
        
 
98
        // [[[ begin [Overridden Methods]
 
99
protected: 
 
100
        // ]]] end [Overridden Methods]
 
101
        
 
102
        
 
103
        // [[[ begin [User Handlers]
 
104
protected: 
 
105
        // ]]] end [User Handlers]
 
106
        
 
107
public: 
 
108
        enum TControls
 
109
                {
 
110
                // [[[ begin generated region: do not modify [Generated Contents]
 
111
                ELabel1,
 
112
                EEd_url,
 
113
                EEd_info,
 
114
                
 
115
                // ]]] end generated region [Generated Contents]
 
116
                
 
117
                // add any user-defined entries here...
 
118
                
 
119
                ELastControl
 
120
                };
 
121
        };
 
122
                                
 
123
#endif // SYMBIAN_UA_GUICONTAINER_H