#pragma once
for our headers plus drive-by formatting
This commit is contained in:
@@ -16,15 +16,11 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef __PROCEVENT__
|
||||
#define __PROCEVENT__
|
||||
#pragma once
|
||||
|
||||
namespace rtengine
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
// Aligned so the first entry starts on line 30
|
||||
enum ProcEventCode {
|
||||
EvPhotoLoaded = 0,
|
||||
@@ -540,13 +536,11 @@ private:
|
||||
};
|
||||
|
||||
|
||||
inline bool operator==(ProcEvent a, ProcEvent b) { return int(a) == int(b); }
|
||||
inline bool operator==(ProcEvent a, ProcEventCode b) { return int(a) == int(b); }
|
||||
inline bool operator==(ProcEventCode a, ProcEvent b) { return int(a) == int(b); }
|
||||
inline bool operator!=(ProcEvent a, ProcEvent b) { return int(a) != int(b); }
|
||||
inline bool operator!=(ProcEvent a, ProcEventCode b) { return int(a) != int(b); }
|
||||
inline bool operator!=(ProcEventCode a, ProcEvent b) { return int(a) != int(b); }
|
||||
inline bool operator ==(ProcEvent a, ProcEvent b) { return int(a) == int(b); }
|
||||
inline bool operator ==(ProcEvent a, ProcEventCode b) { return int(a) == int(b); }
|
||||
inline bool operator ==(ProcEventCode a, ProcEvent b) { return int(a) == int(b); }
|
||||
inline bool operator !=(ProcEvent a, ProcEvent b) { return int(a) != int(b); }
|
||||
inline bool operator !=(ProcEvent a, ProcEventCode b) { return int(a) != int(b); }
|
||||
inline bool operator !=(ProcEventCode a, ProcEvent b) { return int(a) != int(b); }
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user