testconns/statdesktop/desktop/source/lib/inc/stat.h
changeset 4 b8d1455fddc0
equal deleted inserted replaced
2:73b88125830c 4:b8d1455fddc0
       
     1 /*
       
     2 * Copyright (c) 2005-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 
       
    19 
       
    20 
       
    21 #ifndef STAT_H
       
    22 #define STAT_H
       
    23 
       
    24 // possible connection types supported
       
    25 typedef enum STATConnectType
       
    26 {
       
    27 	SymbianInvalid	 = 0,	
       
    28 	SymbianSocket    = 1,
       
    29 	SymbianSerial    = 2,
       
    30 	SymbianInfrared	 = 3,
       
    31 	SymbianBluetooth = 4,
       
    32 	SymbianUsb = 5,
       
    33 } STATCONNECTTYPE;
       
    34 
       
    35 // possible logging levels
       
    36 typedef enum STATLogLevel
       
    37 {
       
    38 	ETerse   = 0,
       
    39 	ENormal  = 1,
       
    40 	EVerbose = 2
       
    41 } STATLOGLEVEL;
       
    42 
       
    43 // bitmap access structures
       
    44 #include <pshpack2.h>
       
    45 struct TBitmapFileHeader
       
    46 {
       
    47 	unsigned short bfType;
       
    48 	unsigned long bfSize;
       
    49 	unsigned short bfReserved1;
       
    50 	unsigned short bfReserved2;
       
    51 	unsigned long bfOffBits;
       
    52 };
       
    53 #include <poppack.h>
       
    54 
       
    55 struct TBitmapInfoHeader
       
    56 {
       
    57 	unsigned long biSize;
       
    58 	long biWidth;
       
    59 	long biHeight;
       
    60 	unsigned short biPlanes;
       
    61 	unsigned short biBitCount;
       
    62 	unsigned long biCompression;
       
    63 	unsigned long biSizeImage;
       
    64 	long biXPelsPerMeter;
       
    65 	long biYPelsPerMeter;
       
    66 	unsigned long biClrUsed;
       
    67 	unsigned long biClrImportant;
       
    68 };
       
    69 
       
    70 #endif