vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / datatranslations / DataTranslationsSettings.h
blob177d101ce8946550a58552ac984125efdf2223c6
1 /*
2 * Copyright 2002-2006, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
5 * Authors:
6 * Oliver Siebenmarck
7 */
8 #ifndef DATA_TRANSLATIONS_SETTINGS_H
9 #define DATA_TRANSLATIONS_SETTINGS_H
12 #include <Point.h>
15 class DataTranslationsSettings {
16 public:
17 DataTranslationsSettings();
18 ~DataTranslationsSettings();
20 BPoint WindowCorner() const { return fCorner; }
21 void SetWindowCorner(BPoint corner);
23 static DataTranslationsSettings* Instance();
25 private:
26 BPoint fCorner;
30 #endif // DATA_TRANSLATIONS_SETTINGS_H