~ubuntu-branches/ubuntu/saucy/sflphone/saucy

« back to all changes in this revision

Viewing changes to sflphone-common/libs/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiApplication.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2010-12-24 16:33:55 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20101224163355-tkvvikqxbrbav6up
Tags: 0.9.11-1
* New upstream release
* Add new build dependencies on libwebkit-dev and libyaml-dev

* Bump Standards-Version up to 3.9.1
* Bump debhelper compatibility to 8
* Patch another typo in the upstream code (lintian notice)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 Name        : symbian_ua_guiApplication.cpp
4
4
 Author      : nanang
5
5
 Copyright   : (c) 2008-2009 Teluu Inc.
6
 
 Description : 
 
6
 Description :
7
7
========================================================================
8
8
*/
9
9
// [[[ begin generated region: do not modify [Generated System Includes]
19
19
 
20
20
 
21
21
// Needed by APS
22
 
TPtrC APP_UID = _L("EBD12EE4");
 
22
TPtrC APP_UID = _L ("EBD12EE4");
23
23
 
24
24
/**
25
25
 * @brief Returns the application's UID (override from CApaApplication::AppDllUid())
26
26
 * @return UID for this application (KUidsymbian_ua_guiApplication)
27
27
 */
28
28
TUid Csymbian_ua_guiApplication::AppDllUid() const
29
 
        {
30
 
        return KUidsymbian_ua_guiApplication;
31
 
        }
 
29
{
 
30
    return KUidsymbian_ua_guiApplication;
 
31
}
32
32
 
33
33
/**
34
34
 * @brief Creates the application's document (override from CApaApplication::CreateDocumentL())
35
35
 * @return Pointer to the created document object (Csymbian_ua_guiDocument)
36
36
 */
37
37
CApaDocument* Csymbian_ua_guiApplication::CreateDocumentL()
38
 
        {
39
 
        return Csymbian_ua_guiDocument::NewL( *this );
40
 
        }
 
38
{
 
39
    return Csymbian_ua_guiDocument::NewL (*this);
 
40
}
41
41
 
42
42
#ifdef EKA2
43
43
 
44
44
/**
45
45
 *      @brief Called by the application framework to construct the application object
46
46
 *  @return The application (Csymbian_ua_guiApplication)
47
 
 */     
 
47
 */
48
48
LOCAL_C CApaApplication* NewApplication()
49
 
        {
50
 
        return new Csymbian_ua_guiApplication;
51
 
        }
 
49
{
 
50
    return new Csymbian_ua_guiApplication;
 
51
}
52
52
 
53
53
/**
54
54
* @brief This standard export is the entry point for all Series 60 applications
55
55
* @return error code
56
 
 */     
 
56
 */
57
57
GLDEF_C TInt E32Main()
58
 
        {
59
 
        TInt err;
60
 
        
61
 
        err = EikStart::RunApplication( NewApplication );
62
 
 
63
 
        return err;
64
 
        }
65
 
        
 
58
{
 
59
    TInt err;
 
60
 
 
61
    err = EikStart::RunApplication (NewApplication);
 
62
 
 
63
    return err;
 
64
}
 
65
 
66
66
#else   // Series 60 2.x main DLL program code
67
67
 
68
68
/**
70
70
* @return The application (Csymbian_ua_guiApplication)
71
71
*/
72
72
EXPORT_C CApaApplication* NewApplication()
73
 
        {
74
 
        return new Csymbian_ua_guiApplication;
75
 
        }
 
73
{
 
74
    return new Csymbian_ua_guiApplication;
 
75
}
76
76
 
77
77
/**
78
78
* @brief This standard export is the entry point for all Series 60 applications
79
79
* @return error code
80
80
*/
81
 
GLDEF_C TInt E32Dll(TDllReason /*reason*/)
82
 
        {
83
 
        return KErrNone;
84
 
        }
 
81
GLDEF_C TInt E32Dll (TDllReason /*reason*/)
 
82
{
 
83
    return KErrNone;
 
84
}
85
85
 
86
86
#endif // EKA2