01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.swt.internal.ole.win32;
11:
12: public class IPersistStorage extends IPersist {
13: public IPersistStorage(int /*long*/address) {
14: super (address);
15: }
16:
17: public int IsDirty() {
18: return COM.VtblCall(4, address);
19: }
20:
21: public int InitNew(int /*long*/pStg) {
22: return COM.VtblCall(5, address, pStg);
23: }
24:
25: public int Load(int /*long*/pStg) {
26: return COM.VtblCall(6, address, pStg);
27: }
28:
29: public int Save(int /*long*/pStgSave, boolean fSameAsLoad) {
30: return COM.VtblCall(7, address, pStgSave, fSameAsLoad);
31: }
32:
33: public int SaveCompleted(int /*long*/pStgNew) {
34: return COM.VtblCall(8, address, pStgNew);
35: }
36:
37: public int HandsOffStorage() {
38: return COM.VtblCall(9, address);
39: }
40: }
|