xref: /haiku/src/add-ons/print/drivers/postscript/PSData.cpp (revision f7b0c08caed76819599e50c30f1f48b13fbb9cf6)
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 #include "PSData.h"
10 
11 #include <Node.h>
12 
13 #define PD_PPD_PATH	"ps:ppd_path"
14 
15 void
16 PSData::load()
17 {
18 	PrinterData::load();
19 	fNode->ReadAttrString(PD_PPD_PATH, &fPPD);
20 }
21 
22 void
23 PSData::save()
24 {
25 	PrinterData::save();
26 	fNode->WriteAttrString(PD_PPD_PATH, &fPPD);
27 }
28