Wexus2 0.20
|
00001 00002 /* 00003 * Copyright (c) 2011 Aleksander B. Demko 00004 * This source code is distributed under the MIT license. 00005 * See the accompanying file LICENSE.MIT.txt for details. 00006 */ 00007 00008 #ifndef __INCLUDED_WEXUS_IDABLE_H__ 00009 #define __INCLUDED_WEXUS_IDABLE_H__ 00010 00011 namespace wexus 00012 { 00013 class IDAble; 00014 } 00015 00016 /** 00017 * A common class for ActiveFile and ActiveRecord 00018 * for linkTo. 00019 * 00020 * @author Aleksander Demko 00021 */ 00022 class wexus::IDAble 00023 { 00024 public: 00025 virtual QVariant getIDAsVariant(void) = 0; 00026 }; 00027 00028 #endif 00029