xdmprotocols/LocalProtocol/inc/LocalDirectoryEntry.h
branchRCL_3
changeset 17 2669f8761a99
parent 16 2580314736af
child 18 fbd2e7cec7ef
equal deleted inserted replaced
16:2580314736af 17:2669f8761a99
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: CLocalDirectoryEntry
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __LOCALDIRECTORYENTRY__
       
    22 #define __LOCALDIRECTORYENTRY__
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 //CLASS DECLARATION
       
    27 NONSHARABLE_CLASS( CLocalDirectoryEntry ) : public CBase
       
    28     {
       
    29     public:
       
    30         
       
    31         /**
       
    32         * Symbian OS default constructor.
       
    33         * @param TInt Default Access Point ID
       
    34         * @return CXdmDocOperation*
       
    35         */     
       
    36         static CLocalDirectoryEntry* NewL( const TDesC& aFileName );
       
    37 
       
    38         /**
       
    39         * Symbian OS default constructor.
       
    40         * @param TInt Default Access Point ID
       
    41         * @return CXdmDocOperation*
       
    42         */     
       
    43         TPtrC EntryName() const;
       
    44         
       
    45         /**
       
    46         * Symbian OS default constructor.
       
    47         * @param TInt Default Access Point ID
       
    48         * @return CXdmDocOperation*
       
    49         */     
       
    50         TBool OfferEntryL( const TDesC& aEntryName );
       
    51 
       
    52         /**
       
    53         * Destructor.
       
    54         */      
       
    55         virtual ~CLocalDirectoryEntry();
       
    56         
       
    57     private:  //Methods
       
    58         
       
    59         /**
       
    60         * Symbian OS default constructor.
       
    61         * @param TInt Default Access Point ID
       
    62         * @return CXdmDocOperation*
       
    63         */     
       
    64         CLocalDirectoryEntry();
       
    65         
       
    66         /**
       
    67         * Symbian OS default constructor.
       
    68         * @param TInt Default Access Point ID
       
    69         * @return CXdmDocOperation*
       
    70         */     
       
    71         void ConstructL( const TDesC& aFilePath );
       
    72         
       
    73     private:  //Data
       
    74         
       
    75         HBufC*                      iXmlEntryName;
       
    76         HBufC*                      iTimeStampEntryName;
       
    77     };
       
    78 
       
    79 #endif      //__LOCALDIRECTORYENTRY__
       
    80             
       
    81 // End of File