equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #if !defined(__EIKGRIP_H__) |
|
17 #define __EIKGRIP_H__ |
|
18 |
|
19 #if !defined(__E32STD_H__) |
|
20 #include <e32std.h> |
|
21 #endif |
|
22 |
|
23 class CGraphicsContext; |
|
24 |
|
25 class TEikGrip |
|
26 { |
|
27 public: |
|
28 enum TOrientation {EHorizontal=0x00,EVertical=0x01}; |
|
29 public: |
|
30 inline TEikGrip(TOrientation aOrientation=EHorizontal); |
|
31 void Draw(CGraphicsContext& aGc, const TRect& aRect) const; |
|
32 inline void SetOrientation(TOrientation aOrientation); |
|
33 inline TOrientation Orientation() const; |
|
34 private: |
|
35 TInt iData; |
|
36 }; |
|
37 |
|
38 #include <eikgrip.inl> |
|
39 #endif |