javauis/eswt_qt/com.nokia.swt.extensions/extensions/org/eclipse/swt/internal/extension/MobileShellExtension.java
changeset 78 71ad690e91f5
equal deleted inserted replaced
72:1f0034e370aa 78:71ad690e91f5
       
     1 /*******************************************************************************
       
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved. This program and the accompanying materials
       
     4  * are made available under the terms of the Eclipse Public License v1.0
       
     5  * which accompanies this distribution, and is available at
       
     6  * http://www.eclipse.org/legal/epl-v10.html
       
     7  *
       
     8  * Contributors:
       
     9  *     Nokia Corporation - initial implementation
       
    10  *******************************************************************************/
       
    11 
       
    12 package org.eclipse.swt.internal.extension;
       
    13 
       
    14 import org.eclipse.ercp.swt.mobile.MobileShell;
       
    15 import org.eclipse.swt.internal.qt.SymbianWindowVisibilityListener;
       
    16 import org.eclipse.swt.widgets.Display;
       
    17 import org.eclipse.swt.widgets.Internal_PackageSupport;
       
    18 
       
    19 public class MobileShellExtension extends MobileShell {
       
    20 
       
    21     public MobileShellExtension(Display display, int style) {
       
    22         super(display, style);
       
    23     }
       
    24     
       
    25     public void addSymbianWindowVisibilityListener(SymbianWindowVisibilityListener listener) {
       
    26         Internal_PackageSupport.addSymbianWindowVisibilityListener(this, listener);
       
    27     }
       
    28 
       
    29     public void removeSymbianWindowVisibilityListener(SymbianWindowVisibilityListener listener) {
       
    30         Internal_PackageSupport.removeSymbianWindowVisibilityListener(this, listener);
       
    31     }
       
    32 }