File indexing completed on 2024-05-05 05:44:19

0001 /*
0002     This file is part of KCachegrind.
0003 
0004     SPDX-FileCopyrightText: 2003 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
0005 
0006     SPDX-License-Identifier: GPL-2.0-only
0007 */
0008 
0009 /*
0010  * DumpManager
0011  */
0012 
0013 #include "dumpmanager.h"
0014 
0015 
0016 //
0017 // Dump
0018 //
0019 
0020 Dump::Dump(QString file)
0021 {
0022   _filename = file;
0023 }
0024 
0025 
0026 //
0027 // DumpManager
0028 //
0029 
0030 DumpManager* DumpManager::_self = 0;
0031 
0032 
0033 DumpManager::DumpManager()
0034 {
0035 }
0036 
0037 DumpManager* DumpManager::self()
0038 {
0039   if (!_self)
0040     _self = new DumpManager();
0041 
0042   return _self;
0043 }
0044 
0045 
0046 DumpList DumpManager::loadableDumps()
0047 {
0048   DumpList res;
0049 
0050   return res;
0051 }
0052 
0053 TraceData* DumpManager::load(Dump*)
0054 {
0055   return 0;
0056 }