1 /* 2 * Copyright 2006, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus <superstippi@gmx.de> 7 */ 8 9 #ifndef INT64_VALUE_VIEW_H 10 #define INT64_VALUE_VIEW_H 11 12 #include "Int64Property.h" 13 #include "TextInputValueView.h" 14 15 class NummericalTextView; 16 17 class Int64ValueView : public TextInputValueView { 18 public: 19 Int64ValueView(Int64Property* property); 20 virtual ~Int64ValueView(); 21 22 // TextInputValueView interface 23 virtual InputTextView* TextView() const; 24 25 // PropertyEditorView interface 26 virtual void ValueChanged(); 27 28 virtual bool AdoptProperty(Property* property); 29 virtual Property* GetProperty() const; 30 31 private: 32 Int64Property* fProperty; 33 NummericalTextView* fTextView; 34 }; 35 36 #endif // INT64_VALUE_VIEW_H 37 38 39