Добавил:
korayakov
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабы / 2 / lab.01.by mice / fexchange / fx_fblk
.h#ifndef FX_FBLK_INCLUDED
#define FX_FBLK_INCLUDED
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
class cfx_fblk {
public:
cfx_fblk();
~cfx_fblk();
int block(const char *const file_name, const FILE *const file = NULL);
int ublock(const char *const file_name);
int ublock(const FILE *const file);
protected:
private:
FILE *_file;
static const int _MX_FN_LEN = 1024;
static HANDLE _mutex;
};
#endif
Соседние файлы в папке fexchange