Index: vud.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/vote_up_down/Attic/vud.module,v
retrieving revision 1.1.2.21
diff -u -p -r1.1.2.21 vud.module
--- vud.module	15 Aug 2009 21:15:45 -0000	1.1.2.21
+++ vud.module	15 Dec 2009 14:07:07 -0000
@@ -206,3 +206,13 @@ function vud_reset($type, $cid, $tag, $t
     drupal_set_message("Oops! There was an error in resetting your vote!", 'warning');
   }
 }
+
+/**
+ * Function for integrating with views 2
+ */
+function vud_views_api() {
+  return array(
+    'api' => 2,
+    'path' => drupal_get_path('module', 'vud') . '/views',
+  );
+}
