Searched refs:appStateStream (Results 1 – 1 of 1) sorted by relevance
817 std::ifstream appStateStream(powerControlDir / stateFile); in PersistentState() local818 if (!appStateStream.is_open()) in PersistentState()827 appStateStream >> stateData; in PersistentState()883 std::ofstream appStateStream(powerControlDir / stateFile, std::ios::trunc); in saveState() local884 if (!appStateStream.is_open()) in saveState()890 appStateStream << stateData.dump(indentationSize); in saveState()