forked from nemomobile-graveyard/meegotouch-systemui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes: NB#284386 - [TASK] DLNA indicator on status area
Bug: NB#284386 - [TASK] DLNA indicator on status area RevBy: Saija Saarenpää, Anssi Eteläniemi
- Loading branch information
Vesa Halttunen
committed
Oct 26, 2011
1 parent
7b94e8d
commit 6ef90c9
Showing
14 changed files
with
171 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
system-ui (1.2.15~1) unstable; urgency=low | ||
|
||
* [UNRELEASED] | ||
* Fixes: NB#284386 - [TASK] DLNA indicator on status area | ||
|
||
-- Artem Egorkine <[email protected]> Wed, 26 Oct 2011 10:29:20 +0300 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
/**************************************************************************** | ||
** | ||
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | ||
** All rights reserved. | ||
** Contact: Nokia Corporation ([email protected]) | ||
** | ||
** This file is part of systemui. | ||
** | ||
** If you have questions regarding the use of this file, please contact | ||
** Nokia at [email protected]. | ||
** | ||
** This library is free software; you can redistribute it and/or | ||
** modify it under the terms of the GNU Lesser General Public | ||
** License version 2.1 as published by the Free Software Foundation | ||
** and appearing in the file LICENSE.LGPL included in the packaging | ||
** of this file. | ||
** | ||
****************************************************************************/ | ||
#ifndef DLNASTATUSINDICATOR_STUB | ||
#define DLNASTATUSINDICATOR_STUB | ||
|
||
#include "statusindicator_stub.h" | ||
#include <stubbase.h> | ||
|
||
|
||
// 1. DECLARE STUB | ||
// FIXME - stubgen is not yet finished | ||
class DLNAStatusIndicatorStub : public StubBase | ||
{ | ||
public: | ||
virtual void DLNAStatusIndicatorConstructor(ApplicationContext &context, QGraphicsItem *parent); | ||
virtual void DLNAStatusIndicatorDestructor(); | ||
virtual void dlnaEnabledChanged(); | ||
}; | ||
|
||
// 2. IMPLEMENT STUB | ||
void DLNAStatusIndicatorStub::DLNAStatusIndicatorConstructor(ApplicationContext &context, QGraphicsItem *parent) | ||
{ | ||
Q_UNUSED(context); | ||
Q_UNUSED(parent); | ||
|
||
} | ||
void DLNAStatusIndicatorStub::DLNAStatusIndicatorDestructor() | ||
{ | ||
|
||
} | ||
void DLNAStatusIndicatorStub::dlnaEnabledChanged() | ||
{ | ||
stubMethodEntered("dlnaEnabledChanged"); | ||
} | ||
|
||
|
||
|
||
// 3. CREATE A STUB INSTANCE | ||
DLNAStatusIndicatorStub gDefaultDLNAStatusIndicatorStub; | ||
DLNAStatusIndicatorStub *gDLNAStatusIndicatorStub = &gDefaultDLNAStatusIndicatorStub; | ||
|
||
|
||
// 4. CREATE A PROXY WHICH CALLS THE STUB | ||
DLNAStatusIndicator::DLNAStatusIndicator(ApplicationContext &context, QGraphicsItem *parent) | ||
{ | ||
gDLNAStatusIndicatorStub->DLNAStatusIndicatorConstructor(context, parent); | ||
} | ||
|
||
DLNAStatusIndicator::~DLNAStatusIndicator() | ||
{ | ||
gDLNAStatusIndicatorStub->DLNAStatusIndicatorDestructor(); | ||
} | ||
|
||
void DLNAStatusIndicator::dlnaEnabledChanged() | ||
{ | ||
gDLNAStatusIndicatorStub->dlnaEnabledChanged(); | ||
} | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters