Logo Search packages:      
Sourcecode: lemonpos version File versions

enums.h

/***************************************************************************
 *   Copyright (C) 2007-2009 by Miguel Chavez Gamboa                  *
 *   miguel.chavez.gamboa@gmail.com                                        *
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
 ***************************************************************************/

#ifndef MYENUMS_H
#define MYENUMS_H

enum TransactionType  {tSell=1, tBuy=2, tChange=3, tReturn=4};
enum PaymentType      {pUnknown=99, pCash=1, pCard=2};
enum TransactionState {tNotCompleted=1, tCompleted=2, tCancelled=3};
enum SellUnits        {uPiece=1, uWeightKg=2, uLengthMts=3, uVolumeLitre=4, uVolumeCubicMts=5};
enum                  {colCode=0, colDesc=1, colPrice=2, colQty=3, colUnits=4, colDisc=5, colDue=6}; //column names and numbers..
enum                  {pageMain=0, pageSearch=1, pageAdds=2};

enum userRoles        {roleBasic=1, roleAdmin=2};

#endif

Generated by  Doxygen 1.6.0   Back to index