         }
     }
     
-    static func typeAndOrientation() -> TYPE_AND_ORIENTATION {
+    public class func typeAndOrientation() -> TYPE_AND_ORIENTATION {
         let device = (type().rawValue * 10) + orientation().rawValue
         return TYPE_AND_ORIENTATION.init(rawValue: device)!
     }

        case CarPlayLandscape = 42
    }
    
    static func type() -> TYPE {
        switch UIDevice.currentDevice().userInterfaceIdiom {
        case .Phone:
            return .Phone

        case CarPlay      // 4
    }
    
    public enum ORIENTATION : Int {
        case Unknown             // 0
        case Portrait            // 1
        case Landscape           // 2
    }
    
    public enum TYPE_AND_ORIENTATION : Int {
        case UnspecifiedPortrait = 0
        case UnspecifiedLandscape = 1
        case UnspecifiedUnknown = 2
