Home | History | Annotate | Download | only in custom
      1 /*
      2  * Copyright (C) 2014 Trillian Mobile AB
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 package com.badlogic.gdx.backends.iosrobovm.custom;
     17 
     18 /*<imports>*/
     19 import java.io.*;
     20 import java.nio.*;
     21 import java.util.*;
     22 import org.robovm.objc.*;
     23 import org.robovm.objc.annotation.*;
     24 import org.robovm.objc.block.*;
     25 import org.robovm.rt.*;
     26 import org.robovm.rt.bro.*;
     27 import org.robovm.rt.bro.annotation.*;
     28 import org.robovm.rt.bro.ptr.*;
     29 import org.robovm.apple.foundation.*;
     30 import org.robovm.apple.coreanimation.*;
     31 import org.robovm.apple.coregraphics.*;
     32 import org.robovm.apple.coredata.*;
     33 import org.robovm.apple.coreimage.*;
     34 import org.robovm.apple.coretext.*;
     35 import org.robovm.apple.corelocation.*;
     36 /*</imports>*/
     37 
     38 /*<javadoc>*/
     39 /**
     40  * @since Available in iOS 2.0 and later.
     41  * @deprecated Deprecated in iOS 5.0.
     42  */
     43 @Deprecated
     44 /*</javadoc>*/
     45 /*<annotations>*/@Library("UIKit") @NativeClass/*</annotations>*/
     46 /*<visibility>*/public/*</visibility>*/ class /*<name>*/UIAcceleration/*</name>*/
     47     extends /*<extends>*/NSObject/*</extends>*/
     48     /*<implements>*//*</implements>*/ {
     49 
     50     /*<ptr>*/public static class UIAccelerationPtr extends Ptr<UIAcceleration, UIAccelerationPtr> {}/*</ptr>*/
     51     /*<bind>*/static { ObjCRuntime.bind(UIAcceleration.class); }/*</bind>*/
     52     /*<constants>*//*</constants>*/
     53     /*<constructors>*/
     54     public UIAcceleration() {}
     55     protected UIAcceleration(SkipInit skipInit) { super(skipInit); }
     56     /*</constructors>*/
     57     /*<properties>*/
     58     @Property(selector = "timestamp")
     59     public native double getTimestamp();
     60     @Property(selector = "x")
     61     public native double getX();
     62     @Property(selector = "y")
     63     public native double getY();
     64     @Property(selector = "z")
     65     public native double getZ();
     66     /*</properties>*/
     67     /*<members>*//*</members>*/
     68     /*<methods>*/
     69 
     70     /*</methods>*/
     71 }