Ryo Iizuka / libMiMic

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

cpp/ModLocalFileSystem.h

Committer:
nyatla
Date:
2013-04-09
Revision:
7:2b33a8d84eb3
Child:
8:b9ed86e156dd

File content as of revision 7:2b33a8d84eb3:

#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.
     */
    class ModLocalFileSystem:ModBaseClass
    {
    public:

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

}