/*
 GerberConversion
 Copyright (C) 2010 Martin Štrympl
 
 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 3.0 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.
 
 Martin Štrympl
 xstrym00@stud.feec.vutbr.cz
 */

/*
 *  Number.h
 *  GerberConversion
 *
 *  Created by Martin Štrympl on 11/8/10.
 *  Copyright 2010 School. All rights reserved.
 *
 */

#ifndef NUMBER_H_INCLUDED
#define NUMBER_H_INCLUDED

#include "Headers.h"

#include "Settings.h"

struct sNumber_Number
{
  int32_t i4_integer, i4_decimal;
  uint8_t u1_integer, u1_decimal;
  
  long double ld_number;
};

bool LoadNumber(struct sNumber_Number *ps_number, char **pt_text, struct sGerber_Gerber_Actual *ps_actual, char ch_type);

#endif //NUMBER_H_INCLUDED
