mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
25 lines
423 B
C++
25 lines
423 B
C++
#include "../nif_file.h"
|
|
|
|
/*
|
|
Test of the NIFFile class
|
|
*/
|
|
|
|
#include <iostream>
|
|
#include "../../mangle/stream/servers/file_stream.h"
|
|
|
|
using namespace Mangle::Stream;
|
|
using namespace std;
|
|
using namespace Nif;
|
|
|
|
int main(int argc, char **args)
|
|
{
|
|
if(argc != 2)
|
|
{
|
|
cout << "Specify a NIF file on the command line\n";
|
|
return 1;
|
|
}
|
|
|
|
StreamPtr file(new FileStream(args[1]));
|
|
NIFFile nif(file, args[1]);
|
|
}
|