00001 /*************************************************************************** 00002 sidestyle.h 00003 ------------------- 00004 copyright : (C) 2004 by Jos van den Oever 00005 email : jos@vandenoever.info 00006 ***************************************************************************/ 00007 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 #ifndef SIDESTYLE_H 00017 #define SIDESTYLE_H 00018 #include "rotenums.h" 00019 00020 typedef unsigned short ushort; 00021 00022 class QPicture; 00023 class SideStyle { 00024 public: 00025 virtual ~SideStyle() {}; 00026 virtual const QPicture *getC4Picture(ushort i) const = 0; 00027 virtual const QPicture *getC2Picture(ushort i) const = 0; 00028 virtual const QPicture *getC1Picture(ushort i) const = 0; 00029 virtual short amount(Symmetry) const = 0; 00030 }; 00031 00032 #endif