Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# oscl_file_server.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    00003
    00004 //                     O S C L _ F I L E  _ SERVER
    00005
    00006 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    00007
    00019 #ifndef OSCL_FILE_SERVER_H_INCLUDED
    00020 #define OSCL_FILE_SERVER_H_INCLUDED
    00021
    00022 #ifndef OSCLCONFIG_IO_H_INCLUDED
    00023 #include "osclconfig_io.h"
    00024 #endif
    00025
    00026 #ifndef OSCL_BASE_H_INCLUDED
    00027 #include "oscl_base.h"
    00028 #endif
    00029
    00030 class Oscl_File;
    00031
    00032 class Oscl_FileServer
    00033 {
    00034     public:
    00038         OSCL_IMPORT_REF Oscl_FileServer();
    00039
    00043         OSCL_IMPORT_REF ~Oscl_FileServer();
    00044
    00051         OSCL_IMPORT_REF int32 Connect(bool aShareSession = false);
    00052
    00058         OSCL_IMPORT_REF int32 Close();
    00059
    00066         OSCL_IMPORT_REF int32 Oscl_DeleteFile(const char *filename);
    00067
    00075         OSCL_IMPORT_REF int32 Oscl_DeleteFile(const oscl_wchar *filename);
    00076
    00077
    00078     protected:
    00079         friend class Oscl_File;
    00080         friend class OsclNativeFile;
    00081
    00082         //file server objects (if appropriate)
    00083 };
    00084
    00085
    00086
    00087 #endif // OSCL_FILE_SERVER_H_INCLUDED
    00088