Ryo Iizuka / libMiMic

Dependents:   MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more

cpp/ModLocalFileSystem.h

Committer:
nyatla
Date:
2013-04-09
Revision:
8:b9ed86e156dd
Parent:
7:2b33a8d84eb3
Child:
14:4618692ec239

File content as of revision 8:b9ed86e156dd:

#pragma once
////////////////////////////////////////////////////////////////////////////////
// ModRomFiles.h
////////////////////////////////////////////////////////////////////////////////

#include "NyLPC_net.h"
#include "ModBaseClass.h"


namespace MiMic
{
    class HttpdConnection;

    /**
     * This class is httpd module.
     * The class provide files on mbed LocalFile System.
     * <p>
     * The file extension must be large case.
     * </p>
     */
    class ModLocalFileSystem:ModBaseClass
    {
    public:

        ModLocalFileSystem(const char* i_path);
        ModLocalFileSystem();
        virtual ~ModLocalFileSystem();
        void setParam(const char* i_path);
        bool execute(HttpdConnection& i_connection);
    };

}