1 /* 2 * Copyright 2010, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Ithamar R. Adema <ithamar.adema@team-embedded.nl> 7 */ 8 9 10 #include "PSData.h" 11 12 #include <Node.h> 13 14 #define PD_PPD_PATH "ps:ppd_path" 15 16 17 void 18 PSData::Load() 19 { 20 PrinterData::Load(); 21 fNode->ReadAttrString(PD_PPD_PATH, &fPPD); 22 } 23 24 25 void 26 PSData::Save() 27 { 28 PrinterData::Save(); 29 fNode->WriteAttrString(PD_PPD_PATH, &fPPD); 30 } 31