Pārlūkot izejas kodu

VLCKit.framework: Documentation updates and whitespace cleanup.

Faustino Osuna 17 gadi atpakaļ
vecāks
revīzija
63d26789d0

+ 1 - 1
Headers/Public/VLCLibrary.h

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCLibrary.h: VLCKit.framework VLCLibrary implementation
+ * VLCLibrary.h: VLCKit.framework VLCLibrary header
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 23 - 7
Headers/Public/VLCStreamOutput.h

@@ -1,10 +1,26 @@
-//
-//  VLCStreamOutput.h
-//  VLCKit
-//
-//  Created by Pierre d'Herbemont on 1/12/08.
-//  Copyright 2008 __MyCompanyName__. All rights reserved.
-//
+/*****************************************************************************
+ * VLCStreamOutput.h: VLCKit.framework VLCStreamOutput header
+ *****************************************************************************
+ * Copyright (C) 2008 Pierre d'Herbemont
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id$
+ *
+ * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
 
 #import <Cocoa/Cocoa.h>
 

+ 23 - 7
Headers/Public/VLCStreamSession.h

@@ -1,10 +1,26 @@
-//
-//  VLCStreamSession.h
-//  VLCKit
-//
-//  Created by Pierre d'Herbemont on 1/12/08.
-//  Copyright 2008 __MyCompanyName__. All rights reserved.
-//
+/*****************************************************************************
+ * VLCStreamSession.h: VLCKit.framework VLCStreamSession header
+ *****************************************************************************
+ * Copyright (C) 2008 Pierre d'Herbemont
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id$
+ *
+ * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
 
 #import <Cocoa/Cocoa.h>
 #import <VLCKit/VLCStreamOutput.h>

+ 1 - 1
Sources/VLCAudio.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCAudio.m: VLC.framework VLCAudio implementation
+ * VLCAudio.m: VLCKit.framework VLCAudio implementation
  *****************************************************************************
  * Copyright (C) 2007 Faustino E. Osuna
  * Copyright (C) 2007 the VideoLAN team

+ 1 - 2
Sources/VLCEventManager.m

@@ -1,6 +1,5 @@
 /*****************************************************************************
- * VLCEventManager.h: VLC.framework VLCEventManager implementation
- * This is used to communicate in a sound way accross threads.
+ * VLCEventManager.m: VLCKit.framework VLCEventManager implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 1 - 1
Sources/VLCLibrary.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCLibrary.h: VLC.framework VLCLibrary implementation
+ * VLCLibrary.m: VLCKit.framework VLCLibrary implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 1 - 1
Sources/VLCMedia.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCMedia.m: VLC.framework VLCMedia implementation
+ * VLCMedia.m: VLCKit.framework VLCMedia implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 1 - 1
Sources/VLCMediaDiscoverer.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCMediaDiscoverer.m: VLC.framework VLCMediaDiscoverer implementation
+ * VLCMediaDiscoverer.m: VLCKit.framework VLCMediaDiscoverer implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 1 - 1
Sources/VLCMediaLibrary.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCMediaDiscoverer.m: VLC.framework VLCMediaDiscoverer implementation
+ * VLCMediaLibrary.m: VLCKit.framework VLCMediaLibrary implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 1 - 1
Sources/VLCMediaList.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCMediaList.m: VLC.framework VLCMediaList implementation
+ * VLCMediaList.m: VLCKit.framework VLCMediaList implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 1 - 1
Sources/VLCMediaListAspect.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCMediaList.m: VLC.framework VLCMediaList implementation
+ * VLCMediaListAspect.m: VLCKit.framework VLCMediaListAspect implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 1 - 1
Sources/VLCMediaPlayer.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCMediaPlayer.m: VLC.framework VLCMediaPlayer implementation
+ * VLCMediaPlayer.m: VLCKit.framework VLCMediaPlayer implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 23 - 8
Sources/VLCStreamOutput.m

@@ -1,15 +1,30 @@
-//
-//  VLCStreamOutput.m
-//  VLCKit
-//
-//  Created by Pierre d'Herbemont on 1/12/08.
-//  Copyright 2008 __MyCompanyName__. All rights reserved.
-//
+/*****************************************************************************
+ * VLCStreamOutput.m: VLCKit.framework VLCStreamOutput implementation
+ *****************************************************************************
+ * Copyright (C) 2008 Pierre d'Herbemont
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id$
+ *
+ * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
 
 #import "VLCStreamOutput.h"
 #import "VLCLibVLCBridging.h"
 
-
 @implementation VLCStreamOutput
 - (id)initWithOptionDictionary:(NSDictionary *)dictionary
 {

+ 23 - 7
Sources/VLCStreamSession.m

@@ -1,10 +1,26 @@
-//
-//  VLCStreamSession.m
-//  VLCKit
-//
-//  Created by Pierre d'Herbemont on 1/12/08.
-//  Copyright 2008 __MyCompanyName__. All rights reserved.
-//
+/*****************************************************************************
+ * VLCStreamSession.m: VLCKit.framework VLCStreamSession implementation
+ *****************************************************************************
+ * Copyright (C) 2008 Pierre d'Herbemont
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id$
+ *
+ * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
 
 #import "VLCStreamSession.h"
 #import "VLCLibVLCBridging.h"

+ 1 - 1
Sources/VLCTime.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCTime.h: VLC.framework VLCTime implementation
+ * VLCTime.m: VLCKit.framework VLCTime implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team

+ 7 - 3
Sources/VLCVideoCommon.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCVideoCommon.m: VLC.framework VLCVideoCommon implementation
+ * VLCVideoCommon.m: VLCKit.framework VLCVideoCommon implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team
@@ -31,14 +31,14 @@
  */
 
 @implementation VLCVideoLayoutManager 
-@synthesize  fillScreenEntirely;
-@synthesize  originalVideoSize;
 
+/* Factories */
 + (id)layoutManager
 {
     return [[[self alloc] init] autorelease];
 }
 
+/* CALayoutManager Impelmentation */
 - (void)layoutSublayersOfLayer:(CALayer *)layer
 {
     /* After having done everything normally resize the vlcopengllayer */
@@ -60,4 +60,8 @@
         videolayer.frame = videoRect;
     }
 }
+
+/* Properties */
+@synthesize fillScreenEntirely;
+@synthesize originalVideoSize;
 @end

+ 1 - 1
Sources/VLCVideoLayer.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCVideoLayer.m: VLC.framework VLCVideoLayer implementation
+ * VLCVideoLayer.m: VLCKit.framework VLCVideoLayer implementation
  *****************************************************************************
  * Copyright (C) 2007 Pierre d'Herbemont
  * Copyright (C) 2007 the VideoLAN team