Minor temporary patch to allow DFU packet callback

Fork of BLE_API by Bluetooth Low Energy

Revision:
144:c025c8839682
Parent:
116:ca826083980e
Child:
260:ea7f9f14cc15
--- a/public/UUID.h	Fri Nov 21 09:23:24 2014 +0000
+++ b/public/UUID.h	Fri Nov 21 09:23:24 2014 +0000
@@ -14,7 +14,6 @@
  * limitations under the License.
  */
 
-
 #ifndef __UUID_H__
 #define __UUID_H__
 
@@ -24,8 +23,7 @@
 typedef uint16_t ShortUUIDBytes_t;
 typedef uint8_t  LongUUIDBytes_t[LENGTH_OF_LONG_UUID];
 
-class UUID
-{
+class UUID {
 public:
     enum {
         UUID_TYPE_SHORT = 0,    // Short BLE UUID
@@ -35,18 +33,11 @@
 public:
     UUID(const LongUUIDBytes_t);
     UUID(ShortUUIDBytes_t);
-    virtual ~UUID(void);
 
 public:
-    uint8_t        shortOrLong(void) const {
-        return type;
-    }
-    const uint8_t* getBaseUUID(void) const {
-        return baseUUID;
-    }
-    ShortUUIDBytes_t    getShortUUID(void) const {
-        return shortUUID;
-    }
+    uint8_t           shortOrLong(void)  const {return type;     }
+    const uint8_t    *getBaseUUID(void)  const {return baseUUID; }
+    ShortUUIDBytes_t  getShortUUID(void) const {return shortUUID;}
 
 private:
     uint8_t          type;      // UUID_TYPE_SHORT or UUID_TYPE_LONG
@@ -58,4 +49,4 @@
     ShortUUIDBytes_t shortUUID; // 16 bit uuid (byte 2-3 using with base)
 };
 
-#endif // ifndef __UUID_H__
+#endif // ifndef __UUID_H__
\ No newline at end of file