From 856744aa6a8d10ea62807a28df24f539fd8f2d06 Mon Sep 17 00:00:00 2001 From: Tarek Soliman Date: Wed, 15 Feb 2012 15:17:37 -0600 Subject: MAEMO: Use bitshifting in ModelType --- backends/platform/maemo/maemo-common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/platform') diff --git a/backends/platform/maemo/maemo-common.h b/backends/platform/maemo/maemo-common.h index cd4bb3b027..30279bc2ef 100644 --- a/backends/platform/maemo/maemo-common.h +++ b/backends/platform/maemo/maemo-common.h @@ -28,10 +28,10 @@ namespace Maemo { enum ModelType { - kModelType770 = 1, - kModelTypeN800 = 2, - kModelTypeN810 = 4, - kModelTypeN900 = 8, + kModelType770 = 1 << 0, + kModelTypeN800 = 1 << 1, + kModelTypeN810 = 1 << 2, + kModelTypeN900 = 1 << 3, kModelTypeInvalid = 0 }; -- cgit v1.2.3