Thiago . / Mbed 2 deprecated exercicios

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers fruits.h Source File

fruits.h

00001 #ifndef FRUITS_H
00002 #define FRUITS_H
00003 
00004 #include "mbed.h"
00005 
00006 class fruits{
00007     
00008     private:
00009    
00010         uint32_t weight;
00011         /*
00012         */
00013         
00014     public:
00015     
00016     
00017         fruits();
00018         /**
00019         *   Default Constructor
00020         */
00021     
00022         uint32_t getWeight(void);
00023         /**
00024         *   Returns the weight of the fruit
00025         */
00026         void setWeight(uint32_t);
00027         /**
00028         *   Sets the weight of the fruit 
00029         */
00030     };
00031 
00032 #endif