Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54484 - in /trunk/sound/agent-audio/src: AlsaAudio.cc AlsaAudio.h AudioAgent.h OSSAudio.cc OSSAudio.h YastChannelId.cc
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Fri, 09 Jan 2009 09:13:15 -0000
  • Message-id: <E1LLDQZ-0006XK-Q9@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Fri Jan 9 10:13:15 2009
New Revision: 54484

URL: http://svn.opensuse.org/viewcvs/yast?rev=54484&view=rev
Log:
- #include cleanup - removed not needed include statements

Modified:
trunk/sound/agent-audio/src/AlsaAudio.cc
trunk/sound/agent-audio/src/AlsaAudio.h
trunk/sound/agent-audio/src/AudioAgent.h
trunk/sound/agent-audio/src/OSSAudio.cc
trunk/sound/agent-audio/src/OSSAudio.h
trunk/sound/agent-audio/src/YastChannelId.cc

Modified: trunk/sound/agent-audio/src/AlsaAudio.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sound/agent-audio/src/AlsaAudio.cc?rev=54484&r1=54483&r2=54484&view=diff
==============================================================================
--- trunk/sound/agent-audio/src/AlsaAudio.cc (original)
+++ trunk/sound/agent-audio/src/AlsaAudio.cc Fri Jan 9 10:13:15 2009
@@ -1,10 +1,7 @@

-#include <math.h>
#include "AlsaAudio.h"

-#include <Y2.h>
-#include <scr/SCRAgent.h>
-
+#include <y2util/y2log.h>

#ifdef __sparc__
#define __HAVE_ALSA 0

Modified: trunk/sound/agent-audio/src/AlsaAudio.h
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sound/agent-audio/src/AlsaAudio.h?rev=54484&r1=54483&r2=54484&view=diff
==============================================================================
--- trunk/sound/agent-audio/src/AlsaAudio.h (original)
+++ trunk/sound/agent-audio/src/AlsaAudio.h Fri Jan 9 10:13:15 2009
@@ -22,8 +22,7 @@
#ifndef __ALSAAUDIO
#define __ALSAAUDIO

-#include <Y2.h>
-#include <scr/SCRAgent.h>
+#include <YCP.h>

using std::string;
using std::vector;

Modified: trunk/sound/agent-audio/src/AudioAgent.h
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sound/agent-audio/src/AudioAgent.h?rev=54484&r1=54483&r2=54484&view=diff
==============================================================================
--- trunk/sound/agent-audio/src/AudioAgent.h (original)
+++ trunk/sound/agent-audio/src/AudioAgent.h Fri Jan 9 10:13:15 2009
@@ -22,7 +22,6 @@
#ifndef __AUDIOAGENT
#define __AUDIOAGENT

-#include <Y2.h>
#include <scr/SCRAgent.h>

using std::string;

Modified: trunk/sound/agent-audio/src/OSSAudio.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sound/agent-audio/src/OSSAudio.cc?rev=54484&r1=54483&r2=54484&view=diff
==============================================================================
--- trunk/sound/agent-audio/src/OSSAudio.cc (original)
+++ trunk/sound/agent-audio/src/OSSAudio.cc Fri Jan 9 10:13:15 2009
@@ -9,14 +9,10 @@

#include <errno.h>
#include <fcntl.h>
-#include <unistd.h>
#include <sys/ioctl.h>
-#include <sys/stat.h>
-#include <sys/types.h>
#include <linux/soundcard.h>

-#include <Y2.h>
-#include <scr/SCRAgent.h>
+#include <y2util/y2log.h>

#include "OSSAudio.h"


Modified: trunk/sound/agent-audio/src/OSSAudio.h
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sound/agent-audio/src/OSSAudio.h?rev=54484&r1=54483&r2=54484&view=diff
==============================================================================
--- trunk/sound/agent-audio/src/OSSAudio.h (original)
+++ trunk/sound/agent-audio/src/OSSAudio.h Fri Jan 9 10:13:15 2009
@@ -10,8 +10,7 @@
#ifndef __OSSAudio_h
#define __OSSAudio_h

-#include <Y2.h>
-#include <scr/SCRAgent.h>
+#include <YCP.h>

extern char *ossChannels[];
extern int ossChannels_num;

Modified: trunk/sound/agent-audio/src/YastChannelId.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/sound/agent-audio/src/YastChannelId.cc?rev=54484&r1=54483&r2=54484&view=diff
==============================================================================
--- trunk/sound/agent-audio/src/YastChannelId.cc (original)
+++ trunk/sound/agent-audio/src/YastChannelId.cc Fri Jan 9 10:13:15 2009
@@ -113,7 +113,7 @@
channel_name = std::string(yastID.begin(), it);

std::string channel_index_str(number_begin_it,
number_end_it);
- channel_index = atoi(channel_index_str.c_str());
+ channel_index = ::atoi(channel_index_str.c_str());
}
}
}

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages