diff -r 000000000000 -r 2f259fa3e83a classicui_pub/notes_api/tsrc/inc/testsdknotesnotedialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/classicui_pub/notes_api/tsrc/inc/testsdknotesnotedialog.h Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,138 @@ +/* +* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Test AknNoteDialog.h +* +*/ + +#ifndef C_TESTSDKNOTESNOTEDIALOG_H +#define C_TESTSDKNOTESNOTEDIALOG_H + +// INCLUDES + +#include +#include +#include + + /** + * CTestSDKNotesNoteDialog test class for CAknNoteDialog protected API. + */ +class CTestSDKNotesNoteDialog : public CAknNoteDialog + { +public:// Constructors and destructor + + /** + * C++ default constructor. + */ + CTestSDKNotesNoteDialog(); + + /** + * Destructor. + */ + ~CTestSDKNotesNoteDialog(); + +public: + /** + * SetSizeAndPosition test function for testing the + * Test SetSizeAndPosition function + */ + void SetSizeAndPosition( const TSize& aSize ); + + /** + * PreLayoutDynInitL test function for testing the + * Test PreLayoutDynInitL function + */ + void PreLayoutDynInitL(); + + /** + * PostLayoutDynInitL test function for testing the + * Test PostLayoutDynInitL function + */ + void PostLayoutDynInitL(); + + /** + * PlayTone test function for testing the + * Test PlayTone function + */ + void PlayTone(); + + /** + * ReportUserActivity test function for testing the + * Test ReportUserActivity function + */ + void ReportUserActivity() const; + + /** + * StaticDeleteL test function for testing the + * Test StaticDeleteL function + */ + static TInt StaticDeleteL( TAny* aThis ); + + /** + * ControlAttributes test function for testing the + * Test ControlAttributes function + */ + CAknNoteAttributes* ControlAttributes(); + + /** + * TransferControlAttributes test function for testing the + * Test TransferControlAttributes function + */ + void TransferControlAttributes(); + + /** + * SoundSystem test function for testing the + * Test SoundSystem function + */ + CAknKeySoundSystem* SoundSystem() const; + + /** + * NoteControl test function for testing the + * Test NoteControl function + */ + CAknNoteControl* NoteControl(); + + /** + * SetNoMemoryAllocation test function for testing the + * Test SetNoMemoryAllocation function + */ + void SetNoMemoryAllocation(); + +public:// Data + /** + * CPeriodic Property + */ + CPeriodic* iTimer; + + /** + * Timeout Property + */ + TInt iTimeoutInMicroseconds; + + /** + * CEikDialog Property + */ + CEikDialog** SelfPtr; + + /** + * TTone Property + */ + TTone iTone; + + /** + * CAknNoteAttributes Property + */ + CAknNoteAttributes* iControlAttributes; + }; + +#endif /*C_TESTSDKNOTESNOTEDIALOG_H*/