From 77f4101fcb296de31f4856376d2f93b2794fcc02 Mon Sep 17 00:00:00 2001 From: etobi Date: Sun, 10 Mar 2013 02:19:57 +0100 Subject: Refactoring: Moved storage related classes into their own files --- pageid.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pageid.h (limited to 'pageid.h') diff --git a/pageid.h b/pageid.h new file mode 100644 index 0000000..cb2709d --- /dev/null +++ b/pageid.h @@ -0,0 +1,31 @@ +/*************************************************************** -*- c++ -*- + * Copyright (c) 2003,2004 by Marcel Wiesweg * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef __PAGEID_H +#define __PAGEID_H + +#include +#include +#include +#include + +#include +#include + +struct PageID { + PageID() { page=subPage=0; } + PageID(tChannelID id, int p, int s) { set(id, p, s); } + void set(tChannelID id, int p, int s) { channel=id; page=p; subPage=s; } + tChannelID channel; + int page; + int subPage; +}; + +#endif -- cgit v1.2.3