Last change
on this file since 1092 was
928,
checked in by Maciej Komosinski, 5 years ago
|
Added virtfile support to recognize the "-" filename as stdin or stdout
|
File size:
542 bytes
|
Line | |
---|
1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/
|
---|
2 | // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski.
|
---|
3 | // See LICENSE.txt for details.
|
---|
4 |
|
---|
5 | #ifndef _STDINOUTFILESYSTEM_H_
|
---|
6 | #define _STDINOUTFILESYSTEM_H_
|
---|
7 |
|
---|
8 | #include <common/virtfile/virtfile.h>
|
---|
9 |
|
---|
10 | class StdInOutFileSystem : public ChainFileSystem
|
---|
11 | {
|
---|
12 | public:
|
---|
13 | StdInOutFileSystem(VirtFileSystem *_chain = NULL) :ChainFileSystem(_chain) {}
|
---|
14 | VirtFILE *Vfopen(const char* path, const char*mode);
|
---|
15 | static bool isStdInOutPath(const char* path);
|
---|
16 | };
|
---|
17 |
|
---|
18 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.