inc/glxexternalinterfacedefs.h
branchRCL_3
changeset 59 8e5f6eea9c9f
equal deleted inserted replaced
57:ea65f74e6de4 59:8e5f6eea9c9f
       
     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:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 //glxexternalinterfacedefs.h
       
    19 #ifndef GLXEXTERNALINTERFACEDEFS_H
       
    20 #define GLXEXTERNALINTERFACEDEFS_H
       
    21 //parameters to be passes by the external Applications wishing to use photos to show their images.
       
    22 //Currently it will mainly be used by camera 
       
    23 #include <QDateTime>
       
    24 #include <QSize>
       
    25 
       
    26 struct GlxInterfaceParams  
       
    27 {
       
    28 QString imageUri;
       
    29 QDateTime timestamp;
       
    30 QPixmap* image; 
       
    31 bool isSelected;
       
    32 QSize imageDimensions; // actual image size( w,h) 
       
    33 };
       
    34 
       
    35 typedef QList<GlxInterfaceParams> GlxExternalData;
       
    36 
       
    37 #endif //GLXEXTERNALINTERFACEDEFS_H