22 #include "csxhconstants.h" |
22 #include "csxhconstants.h" |
23 |
23 |
24 #include <eikenv.h> |
24 #include <eikenv.h> |
25 #include <e32base.h> |
25 #include <e32base.h> |
26 |
26 |
27 CCSXHMainTopics* CCSXHMainTopics::NewL(const TUid& aUid, const TApaAppCaption& aAppCaption) |
27 CCSXHMainTopics* CCSXHMainTopics::NewL(const TUid& aUid, const TApaAppCaption& aAppCaption, const TInt32 aPriority) |
28 { |
28 { |
29 CCSXHMainTopics* self = CCSXHMainTopics::NewLC(aUid,aAppCaption); |
29 CCSXHMainTopics* self = CCSXHMainTopics::NewLC(aUid,aAppCaption, aPriority); |
30 CleanupStack::Pop(self); |
30 CleanupStack::Pop(self); |
31 return self; |
31 return self; |
32 } |
32 } |
33 |
33 |
34 CCSXHMainTopics* CCSXHMainTopics::NewLC(const TUid& aUid,const TApaAppCaption& aAppCaption) |
34 CCSXHMainTopics* CCSXHMainTopics::NewLC(const TUid& aUid,const TApaAppCaption& aAppCaption, const TInt32 aPriority) |
35 { |
35 { |
36 CCSXHMainTopics* self = new(ELeave) CCSXHMainTopics(aUid, aAppCaption); |
36 CCSXHMainTopics* self = new(ELeave) CCSXHMainTopics(aUid, aAppCaption, aPriority); |
37 CleanupStack::PushL(self); |
37 CleanupStack::PushL(self); |
38 return self; |
38 return self; |
39 } |
39 } |
40 |
40 |
41 CCSXHMainTopics::CCSXHMainTopics(const TUid& aUid,const TDesC& aName) : |
41 CCSXHMainTopics::CCSXHMainTopics(const TUid& aUid,const TDesC& aName, const TInt32 aPriority) : |
42 CCSXHGenericTOC1(aName), iUid(aUid) |
42 CCSXHGenericTOC1(aName, aPriority), iUid(aUid) |
43 {//No implementation required |
43 {//No implementation required |
44 } |
44 } |
45 |
45 |
46 CCSXHMainTopics::~CCSXHMainTopics() |
46 CCSXHMainTopics::~CCSXHMainTopics() |
47 {//No implementation required |
47 {//No implementation required |