AppInc/SendImageFile.h
changeset 3 93fff7023be8
equal deleted inserted replaced
2:e1e28b0273b0 3:93fff7023be8
       
     1 /*
       
     2 * Copyright (c) 2009 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: Juha Kauppinen, Mika Hokkanen
       
    13 * 
       
    14 * Description: Photo Browser
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __SENDIMAGE_H__
       
    19 #define __SENDIMAGE_H__
       
    20 
       
    21 #include <eikenv.h>
       
    22 
       
    23 class CSendUi;
       
    24 
       
    25 class CSendImageFile {
       
    26 
       
    27 public:
       
    28     CSendImageFile();
       
    29     static CSendImageFile* NewL();
       
    30     void ConstructL();
       
    31     ~CSendImageFile();
       
    32 #ifdef SEND_FILE_DIALOGUE
       
    33     void SendFileViaSendUiL();
       
    34 #endif
       
    35     void SendFileViaSendUiL(TFileName path);
       
    36     
       
    37 private:
       
    38 #ifdef SEND_FILE_DIALOGUE
       
    39     TBool AskFileL(TFileName& aFileName);
       
    40 #endif
       
    41     
       
    42 private:
       
    43     CSendUi* iSendUi;
       
    44 };
       
    45 
       
    46 #endif