buildtools/qmake/caret.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2002 by Jakob Simon-Gaarde * 00003 * jsgaarde@tdcspace.dk * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef _CARET_H_ 00013 #define _CARET_H_ 00014 00015 #include <stdio.h> 00016 class Caret 00017 { 00018 public: 00019 int m_row; 00020 int m_idx; 00021 Caret(); 00022 Caret(const int row, const int idx); 00023 Caret(const Caret& value); 00024 bool operator<(const Caret& compare); 00025 bool operator>(const Caret& compare); 00026 bool operator<=(const Caret& compare); 00027 bool operator>=(const Caret& compare); 00028 bool operator==(const Caret& compare); 00029 bool operator!=(const Caret& compare); 00030 Caret operator=(const Caret& value); 00031 Caret operator+(const Caret& value); 00032 Caret operator-(const Caret& value); 00033 00034 }; 00035 00036 #endif 00037