|
|
1.1 ! root 1: // ! 2: // nono ! 3: // Copyright (C) 2021 nono project ! 4: // Licensed under nono-license.txt ! 5: // ! 6: ! 7: // ! 8: // ディスクイメージの基本クラス ! 9: // ! 10: ! 11: #include "diskimage.h" ! 12: #include "diskimage_raw.h" ! 13: ! 14: // コンストラクタ ! 15: DiskImage::DiskImage(DiskImage::Type type_) ! 16: { ! 17: type = type_; ! 18: } ! 19: ! 20: // デストラクタ ! 21: DiskImage::~DiskImage() ! 22: { ! 23: } ! 24: ! 25: /*static*/ DiskImage * ! 26: DiskImage::Create(const std::string& pathname_) ! 27: { ! 28: // 今の所 Raw しかない ! 29: return new DiskImageRaw(pathname_); ! 30: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.