17#ifndef MBED_FILEBASE_H
18#define MBED_FILEBASE_H
20typedef int FILEHANDLE;
22#include "platform/platform.h"
23#include "platform/SingletonPtr.h"
24#include "rtos/Mutex.h"
25#include "platform/NonCopyable.h"
50 FileBase(
const char *name, PathType t);
53 const char *getName(
void);
54 PathType getPathType(
void);
56 static FileBase *lookup(
const char *name,
unsigned int len);
60 void set_as_default();
68 const char *
const _name;
69 const PathType _path_type;
Prevents generation of copy constructor and copy assignment operator in derived classes.
Utility class for creating and using a singleton.