kig
circle_type.h
Go to the documentation of this file.00001 // Copyright (C) 2003 Dominique Devriese <devriese@kde.org> 00002 00003 // This program is free software; you can redistribute it and/or 00004 // modify it under the terms of the GNU General Public License 00005 // as published by the Free Software Foundation; either version 2 00006 // of the License, or (at your option) any later version. 00007 00008 // This program is distributed in the hope that it will be useful, 00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 // GNU General Public License for more details. 00012 00013 // You should have received a copy of the GNU General Public License 00014 // along with this program; if not, write to the Free Software 00015 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00016 // 02110-1301, USA. 00017 00018 #ifndef KIG_OBJECTS_CIRCLE_TYPE_H 00019 #define KIG_OBJECTS_CIRCLE_TYPE_H 00020 00021 #include "base_type.h" 00022 00026 class CircleBCPType 00027 : public ObjectABType 00028 { 00029 CircleBCPType(); 00030 ~CircleBCPType(); 00031 public: 00032 static const CircleBCPType* instance(); 00033 00034 ObjectImp* calc( const Coordinate& a, const Coordinate& b ) const; 00035 const ObjectImpType* resultId() const; 00036 }; 00037 00041 class CircleBPRType 00042 : public ArgsParserObjectType 00043 { 00044 CircleBPRType(); 00045 ~CircleBPRType(); 00046 public: 00047 static const CircleBPRType* instance(); 00048 00049 ObjectImp* calc( const Args& args, const KigDocument& ) const; 00050 const ObjectImpType* resultId() const; 00051 }; 00052 00056 class CircleBTPType 00057 : public ArgsParserObjectType 00058 { 00059 CircleBTPType(); 00060 ~CircleBTPType(); 00061 00062 public: 00063 static const CircleBTPType* instance(); 00064 00065 ObjectImp* calc( const Args& args, const KigDocument& ) const; 00066 const ObjectImpType* resultId() const; 00067 }; 00068 00069 #endif
KDE 4.0 API Reference