00001 /* Copyright (c) 2007, Gennady Bystritsky <bystr@mac.com> 00002 * 00003 * Distributed under the MIT Licence. 00004 * This is free software. See 'LICENSE' for details. 00005 * You must read and accept the license prior to use. 00006 */ 00007 00008 #ifndef _SK_RT_CONFIG_HOMELOCATOR_ 00009 #define _SK_RT_CONFIG_HOMELOCATOR_ 00010 00011 #include <sk/rt/config/SpotLocator.h> 00012 00013 namespace sk { 00014 namespace rt { 00015 namespace config { 00016 class HomeLocator 00017 : public SpotLocator 00018 { 00019 public: 00020 HomeLocator(const sk::util::String& item, const SpotLocator& other); 00021 HomeLocator(const sk::util::String& item); 00022 virtual ~HomeLocator(); 00023 00024 // sk::util::Object re-implementation. 00025 const sk::util::Class getClass() const; 00026 00027 private: 00028 HomeLocator(const HomeLocator& other); 00029 HomeLocator& operator = (const HomeLocator& other); 00030 00031 static const sk::util::String figureHomeLocation(); 00032 }; 00033 } 00034 } 00035 } 00036 00037 #endif /* _SK_RT_CONFIG_HOMELOCATOR_ */