1 /* 2 * Copyright 2010, Rene Gollent, rene@gollent.com. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef STRING_VALUE_HANDLER_H 6 #define STRING_VALUE_HANDLER_H 7 8 9 #include "ValueHandler.h" 10 11 12 class StringValueHandler : public ValueHandler { 13 public: 14 StringValueHandler(); 15 ~StringValueHandler(); 16 17 status_t Init(); 18 19 virtual float SupportsValue(Value* value); 20 virtual status_t GetValueFormatter(Value* value, 21 ValueFormatter*& _formatter); 22 virtual status_t GetTableCellValueRenderer(Value* value, 23 TableCellValueRenderer*& _renderer); 24 }; 25 26 27 #endif // STRING_VALUE_HANDLER_H 28