00001 /* 00002 Copyright (C) 2007 Ben Levitt 00003 00004 This file is part of Traverso 00005 00006 Traverso is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00019 00020 $Id: Snappable.h,v 1.1 2007/03/29 22:18:38 benjie Exp $ 00021 */ 00022 00023 #ifndef SNAPPABLE_H 00024 #define SNAPPABLE_H 00025 00026 class SnapList; 00027 00028 00029 class Snappable 00030 { 00031 public: 00032 Snappable(); 00033 ~Snappable() {}; 00034 00035 void set_snappable(bool snap); 00036 00037 bool is_snappable() const; 00038 00039 void set_snap_list(SnapList *sList); 00040 00041 private: 00042 bool m_isSnappable; 00043 SnapList *snapList; 00044 }; 00045 00046 00047 #endif 00048 00049 /* EOF */
1.5.5