Assorted whitespace cleanup and typo fixes.
[haiku.git] / src / bin / pkgman / CommonOptions.h
blob4eee41f1fca43ebcd0b5e35d9136e790e652686e
1 /*
2 * Copyright 2014, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * All Rights Reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef COMMON_OPTIONS_H
6 #define COMMON_OPTIONS_H
9 #include <SupportDefs.h>
12 // common options
13 enum {
14 OPTION_DEBUG = 256,
18 class CommonOptions {
19 public:
20 CommonOptions();
21 ~CommonOptions();
23 int32 DebugLevel() const
24 { return fDebugLevel; }
25 void SetDebugLevel(int level)
26 { fDebugLevel = level; }
28 bool HandleOption(int option);
30 private:
31 int32 fDebugLevel;
35 #endif // COMMON_OPTIONS_H