# examples/Base/ThreadsAndProcesses/TLS1/TLS1dll.h

    00001 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
    00002 // All rights reserved.
    00003 // This component and the accompanying materials are made available
    00004 // under the terms of "Eclipse Public License v1.0"
    00005 // which accompanies this distribution, and is available
    00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    00007 //
    00008 // Initial Contributors:
    00009 // Nokia Corporation - initial contribution.
    00010 //
    00011 // Contributors:
    00012 //
    00013 // Description:
    00014 // DLL example program (1) to demonstrate the use of Thread local storage.
    00015 //
    00016
    00017 #include <e32test.h>
    00018
    00019
    00020 class CSetter : public CBase
    00021         {
    00022 public:
    00023         IMPORT_C CSetter(CConsoleBase& aConsole);
    00024         ~CSetter();
    00025         IMPORT_C void   SetStaticTextL(const TDesC& aString);
    00026         IMPORT_C void   ShowStaticText() const;
    00027 private:
    00028         CConsoleBase& iConsole;    // Use the console (not owned)
    00029         };
    00030
    00031
    00032 class CGeneral : public CBase
    00033         {
    00034 public:
    00035         IMPORT_C      CGeneral(CConsoleBase& aConsole);
    00036         IMPORT_C void ShowStaticText() const;
    00037 private:
    00038         CConsoleBase& iConsole; // Use the console (not owned)
    00039         };
    00040